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.001487/0.001487, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 207.8 kB / 16.79 MB, free: 6.84 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.353/1.353, allocations: 222.9 MB / 240.5 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6768/0.6768, allocations: 115.3 MB / 406 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 60.64 kB / 493 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1456, allocations: 76.19 MB / 0.5559 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002449/0.1481, allocations: 1.331 MB / 0.5572 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009954/0.1492, allocations: 0.6112 MB / 0.5577 GB, free: 8.797 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.761e-05/0.1492, allocations: 0 / 0.5577 GB, free: 8.797 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.1492, allocations: 3.938 kB / 0.5578 GB, free: 8.793 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.646e-05/0.1493, allocations: 11.91 kB / 0.5578 GB, free: 8.781 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.1498, allocations: 118.9 kB / 0.5579 GB, free: 8.668 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.558e-05/0.1498, allocations: 23.92 kB / 0.5579 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.447e-05/0.1499, allocations: 4 kB / 0.5579 GB, free: 8.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.756e-05/0.1499, allocations: 7.938 kB / 0.5579 GB, free: 8.633 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.772e-05/0.15, allocations: 15.91 kB / 0.5579 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.15, allocations: 3.938 kB / 0.5579 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004868/0.1505, allocations: 339.4 kB / 0.5583 GB, free: 8.281 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.1505, allocations: 4 kB / 0.5583 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.1505, allocations: 11.92 kB / 0.5583 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.1508, allocations: 147.9 kB / 0.5584 GB, free: 8.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1508, allocations: 0 / 0.5584 GB, free: 8.121 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1508, allocations: 0 / 0.5584 GB, free: 8.121 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.1508, allocations: 0 / 0.5584 GB, free: 8.121 MB / 430.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.0004065/0.1512, allocations: 359.5 kB / 0.5588 GB, free: 7.719 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1513, allocations: 12.03 kB / 0.5588 GB, free: 7.707 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.236e-05/0.1513, allocations: 34.73 kB / 0.5588 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.1513, allocations: 4.844 kB / 0.5588 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1514, allocations: 164.3 kB / 0.559 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1515, allocations: 12.38 kB / 0.559 GB, free: 7.449 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.1515, allocations: 384 / 0.559 GB, free: 7.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.948e-05/0.1516, allocations: 42.25 kB / 0.559 GB, free: 7.402 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1516, allocations: 7.938 kB / 0.559 GB, free: 7.395 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.1516, allocations: 0 / 0.559 GB, free: 7.395 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1516, allocations: 0 / 0.559 GB, free: 7.395 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.1517, allocations: 19.98 kB / 0.559 GB, free: 7.375 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.152, allocations: 244.9 kB / 0.5593 GB, free: 7.086 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.1522, allocations: 50.56 kB / 0.5593 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/0.1522, allocations: 20.86 kB / 0.5593 GB, free: 7.004 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1522, allocations: 7.984 kB / 0.5593 GB, free: 6.996 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.1523, allocations: 30.56 kB / 0.5594 GB, free: 6.957 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1523, allocations: 0 / 0.5594 GB, free: 6.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001675/0.1524, allocations: 61.61 kB / 0.5594 GB, free: 6.891 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.1525, allocations: 59.34 kB / 0.5595 GB, free: 6.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.738e-05/0.1526, allocations: 97.86 kB / 0.5596 GB, free: 6.715 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.1526, allocations: 25.7 kB / 0.5596 GB, free: 6.684 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.1526, allocations: 88.05 kB / 0.5597 GB, free: 6.594 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.1526, allocations: 19.72 kB / 0.5597 GB, free: 6.574 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.1527, allocations: 17.72 kB / 0.5597 GB, free: 6.551 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.1528, allocations: 314.8 kB / 0.56 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.1528, allocations: 8 kB / 0.56 GB, free: 6.227 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/0.1529, allocations: 21.7 kB / 0.5601 GB, free: 6.199 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.22e-05/0.1529, allocations: 33.66 kB / 0.5601 GB, free: 6.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.1529, allocations: 3.938 kB / 0.5601 GB, free: 6.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.713e-05/0.153, allocations: 57.69 kB / 0.5601 GB, free: 6.094 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.153, allocations: 6.031 kB / 0.5602 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1531, allocations: 3.938 kB / 0.5602 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.1531, allocations: 0 / 0.5602 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.012e-05/0.1531, allocations: 15.92 kB / 0.5602 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1531, allocations: 0 / 0.5602 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.589e-05/0.1532, allocations: 4 kB / 0.5602 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.1532, allocations: 0 / 0.5602 GB, free: 6.066 MB / 430.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 6.926e-05/0.1533, allocations: 121.8 kB / 0.5603 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.1533, allocations: 3.906 kB / 0.5603 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.1534, allocations: 61.17 kB / 0.5604 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1534, allocations: 0 / 0.5604 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1534, allocations: 0 / 0.5604 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1534, allocations: 0 / 0.5604 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.1536, allocations: 157.6 kB / 0.5605 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1536, allocations: 4 kB / 0.5605 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.1537, allocations: 11.94 kB / 0.5605 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1537, allocations: 128 / 0.5605 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1537, allocations: 4 kB / 0.5605 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1537, allocations: 0 / 0.5605 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1537, allocations: 4 kB / 0.5605 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.1538, allocations: 148 kB / 0.5607 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.1539, allocations: 81.05 kB / 0.5607 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1539, allocations: 3.984 kB / 0.5608 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.222e-05/0.154, allocations: 4 kB / 0.5608 GB, free: 5.375 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.154, allocations: 11.94 kB / 0.5608 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.154, allocations: 48 / 0.5608 GB, free: 5.363 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.188e-05/0.154, allocations: 79.27 kB / 0.5608 GB, free: 5.285 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.154, allocations: 4 kB / 0.5608 GB, free: 5.281 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1543, allocations: 16 kB / 0.5609 GB, free: 5.266 MB / 430.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.0004325/0.1547, allocations: 0.7123 MB / 0.5616 GB, free: 4.523 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.714e-05/0.1548, allocations: 19.98 kB / 0.5616 GB, free: 4.504 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1548, allocations: 3.938 kB / 0.5616 GB, free: 4.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.983e-05/0.1548, allocations: 8 kB / 0.5616 GB, free: 4.492 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.1551, allocations: 8 kB / 0.5616 GB, free: 4.484 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.1555, allocations: 162.1 kB / 0.5617 GB, free: 4.285 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.1558, allocations: 0.6731 MB / 0.5624 GB, free: 3.586 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.712e-05/0.1559, allocations: 7.984 kB / 0.5624 GB, free: 3.578 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.1559, allocations: 11.44 kB / 0.5624 GB, free: 3.566 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1559, allocations: 0 / 0.5624 GB, free: 3.566 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01013/0.166, allocations: 1.241 MB / 0.5636 GB, free: 2.461 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.1662, allocations: 228.2 kB / 0.5639 GB, free: 2.199 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/1.984, allocations: 11.88 kB / 0.5639 GB, free: 2.188 MB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)