Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 100.7 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 190.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7321/0.7321, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 75.89 kB / 0.4912 GB, free: 7.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3173, allocations: 77.91 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00257/0.3199, allocations: 1.267 MB / 0.5685 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008117/0.3208, allocations: 0.592 MB / 0.5691 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.32e-05/0.3208, allocations: 0 / 0.5691 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.3208, allocations: 5.25 kB / 0.5691 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.371e-05/0.3209, allocations: 9.562 kB / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.3214, allocations: 148.8 kB / 0.5693 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.707e-05/0.3214, allocations: 19.86 kB / 0.5693 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.296e-05/0.3215, allocations: 3.078 kB / 0.5693 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.903e-05/0.3215, allocations: 9.922 kB / 0.5693 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.695e-05/0.3215, allocations: 14.83 kB / 0.5693 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.3216, allocations: 1.094 kB / 0.5693 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005008/0.3221, allocations: 342.9 kB / 0.5696 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.3221, allocations: 5.953 kB / 0.5696 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.3221, allocations: 13.34 kB / 0.5697 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.3224, allocations: 144.8 kB / 0.5698 GB, free: 31.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3224, allocations: 0.5625 kB / 0.5698 GB, free: 31.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3224, allocations: 1.875 kB / 0.5698 GB, free: 31.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3224, allocations: 3.938 kB / 0.5698 GB, free: 31.21 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003258/0.3227, allocations: 358.5 kB / 0.5701 GB, free: 30.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3228, allocations: 9.938 kB / 0.5701 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.188e-05/0.3228, allocations: 32.97 kB / 0.5702 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.324e-05/0.3228, allocations: 2.875 kB / 0.5702 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.91e-05/0.3229, allocations: 167.1 kB / 0.5703 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3229, allocations: 2.219 kB / 0.5703 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.3229, allocations: 7.812 kB / 0.5704 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.774e-05/0.323, allocations: 40.89 kB / 0.5704 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.3231, allocations: 3.938 kB / 0.5704 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-06/0.3231, allocations: 2 kB / 0.5704 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.3231, allocations: 0 / 0.5704 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.805e-05/0.3231, allocations: 20.58 kB / 0.5704 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.3234, allocations: 246.8 kB / 0.5707 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.3236, allocations: 51.22 kB / 0.5707 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.994e-05/0.3236, allocations: 19.16 kB / 0.5707 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.3236, allocations: 1.172 kB / 0.5707 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.3237, allocations: 37.58 kB / 0.5708 GB, free: 30.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.3237, allocations: 0 / 0.5708 GB, free: 30.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001519/0.3238, allocations: 68.08 kB / 0.5708 GB, free: 30.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.3239, allocations: 52.52 kB / 0.5709 GB, free: 30.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.929e-05/0.3239, allocations: 105.6 kB / 0.571 GB, free: 29.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.583e-06/0.3239, allocations: 25.7 kB / 0.571 GB, free: 29.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.324, allocations: 86.3 kB / 0.5711 GB, free: 29.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.101e-05/0.324, allocations: 15.36 kB / 0.5711 GB, free: 29.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.324, allocations: 20.09 kB / 0.5711 GB, free: 29.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.929e-05/0.3241, allocations: 313.1 kB / 0.5714 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.163e-05/0.3241, allocations: 11.22 kB / 0.5714 GB, free: 29.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.424e-05/0.3241, allocations: 17 kB / 0.5714 GB, free: 29.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.3242, allocations: 35.8 kB / 0.5715 GB, free: 29.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3242, allocations: 3.938 kB / 0.5715 GB, free: 29.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.92e-05/0.3243, allocations: 61.94 kB / 0.5715 GB, free: 29.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3243, allocations: 4.938 kB / 0.5715 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.3243, allocations: 1.719 kB / 0.5715 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3243, allocations: 0 / 0.5715 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.533e-05/0.3243, allocations: 10.22 kB / 0.5716 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.3244, allocations: 0 / 0.5716 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.388e-05/0.3244, allocations: 6.969 kB / 0.5716 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.3244, allocations: 2 kB / 0.5716 GB, free: 29.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/0.3244, allocations: 112.7 kB / 0.5717 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.3245, allocations: 9.281 kB / 0.5717 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.3246, allocations: 63.73 kB / 0.5717 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3246, allocations: 0.5156 kB / 0.5717 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3246, allocations: 2.875 kB / 0.5717 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3246, allocations: 0.7031 kB / 0.5717 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.3247, allocations: 158.6 kB / 0.5719 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3247, allocations: 1.281 kB / 0.5719 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.3248, allocations: 7.781 kB / 0.5719 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3248, allocations: 0 / 0.5719 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.3248, allocations: 1.469 kB / 0.5719 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3248, allocations: 2.266 kB / 0.5719 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3248, allocations: 0 / 0.5719 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.743e-05/0.3249, allocations: 149.5 kB / 0.572 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.3249, allocations: 79.23 kB / 0.5721 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.3249, allocations: 0 / 0.5721 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.76e-05/0.325, allocations: 2.219 kB / 0.5721 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.325, allocations: 8.094 kB / 0.5721 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.325, allocations: 10.25 kB / 0.5721 GB, free: 28.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.055e-05/0.3251, allocations: 86.38 kB / 0.5722 GB, free: 28.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3251, allocations: 1.312 kB / 0.5722 GB, free: 28.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.3253, allocations: 18.95 kB / 0.5722 GB, free: 28.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002988/0.3256, allocations: 0.709 MB / 0.5729 GB, free: 28.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.54e-05/0.3257, allocations: 30.28 kB / 0.573 GB, free: 28.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3257, allocations: 2.25 kB / 0.573 GB, free: 28.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.95e-05/0.3257, allocations: 9.734 kB / 0.573 GB, free: 28.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.3259, allocations: 3.531 kB / 0.573 GB, free: 28.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.3264, allocations: 159.8 kB / 0.5731 GB, free: 27.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.3265, allocations: 0.6759 MB / 0.5738 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.299e-05/0.3265, allocations: 4.641 kB / 0.5738 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.3265, allocations: 14.44 kB / 0.5738 GB, free: 27.14 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3265, allocations: 1.438 kB / 0.5738 GB, free: 27.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/0.3424, allocations: 1.362 MB / 0.5751 GB, free: 26.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.031/7.373, allocations: 6.812 kB / 0.5751 GB, free: 26.82 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)