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.001484/0.001484, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001575/0.001575, allocations: 189.2 kB / 17.34 MB, free: 5.758 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8089/0.8089, allocations: 126.7 MB / 417.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 70.98 kB / 0.5735 GB, free: 27.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1592, allocations: 78.86 MB / 0.6505 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002695/0.1619, allocations: 1.268 MB / 0.6518 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.163, allocations: 0.5975 MB / 0.6524 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.1631, allocations: 0 / 0.6524 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.1631, allocations: 4 kB / 0.6524 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.123e-05/0.1632, allocations: 7.922 kB / 0.6524 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.1637, allocations: 143.4 kB / 0.6525 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.929e-05/0.1638, allocations: 15.92 kB / 0.6525 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.1638, allocations: 4 kB / 0.6525 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.372e-05/0.1639, allocations: 11.94 kB / 0.6525 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.367e-05/0.1639, allocations: 7.984 kB / 0.6526 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.1639, allocations: 0 / 0.6526 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005622/0.1645, allocations: 347.3 kB / 0.6529 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.1645, allocations: 0 / 0.6529 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.1646, allocations: 11.94 kB / 0.6529 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.1648, allocations: 155.8 kB / 0.653 GB, free: 1.066 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1648, allocations: 0 / 0.653 GB, free: 1.066 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1649, allocations: 4 kB / 0.6531 GB, free: 1.062 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1649, allocations: 0 / 0.6531 GB, free: 1.062 MB / 494.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.0005042/0.1654, allocations: 359.1 kB / 0.6534 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1654, allocations: 8.031 kB / 0.6534 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.1655, allocations: 30.75 kB / 0.6534 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.1655, allocations: 8.922 kB / 0.6534 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.1657, allocations: 164.4 kB / 0.6536 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1657, allocations: 384 / 0.6536 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.1657, allocations: 16.05 kB / 0.6536 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.1658, allocations: 53.62 kB / 0.6537 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1658, allocations: 0 / 0.6537 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.1658, allocations: 0 / 0.6537 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1659, allocations: 0 / 0.6537 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.995e-05/0.1659, allocations: 12 kB / 0.6537 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.1663, allocations: 256.9 kB / 0.6539 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.1665, allocations: 54.56 kB / 0.654 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.1666, allocations: 16.86 kB / 0.654 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1666, allocations: 0 / 0.654 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1666, allocations: 34.56 kB / 0.654 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1666, allocations: 0 / 0.654 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001896/0.1668, allocations: 61.58 kB / 0.6541 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.1669, allocations: 51.41 kB / 0.6541 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.816e-05/0.167, allocations: 97.84 kB / 0.6542 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.167, allocations: 29.7 kB / 0.6542 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.1671, allocations: 88.14 kB / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.1671, allocations: 11.84 kB / 0.6543 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.1671, allocations: 21.7 kB / 0.6544 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1673, allocations: 314.8 kB / 0.6547 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.1673, allocations: 8 kB / 0.6547 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/0.1673, allocations: 21.7 kB / 0.6547 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.898e-05/0.1674, allocations: 33.72 kB / 0.6547 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1674, allocations: 0 / 0.6547 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.481e-05/0.1675, allocations: 57.62 kB / 0.6548 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1675, allocations: 8 kB / 0.6548 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1675, allocations: 0 / 0.6548 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1676, allocations: 0 / 0.6548 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.741e-05/0.1676, allocations: 8 kB / 0.6548 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1676, allocations: 0 / 0.6548 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.1677, allocations: 11.97 kB / 0.6548 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.1677, allocations: 4 kB / 0.6548 GB, free: 15.02 MB / 0.4981 GB 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 9.142e-05/0.1678, allocations: 117.7 kB / 0.6549 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.1678, allocations: 4 kB / 0.6549 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.1679, allocations: 61.59 kB / 0.655 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.168, allocations: 8.031 kB / 0.655 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.168, allocations: 3.938 kB / 0.655 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.168, allocations: 0 / 0.655 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.1682, allocations: 165.6 kB / 0.6552 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1682, allocations: 0 / 0.6552 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.1682, allocations: 12.11 kB / 0.6552 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1682, allocations: 4 kB / 0.6552 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1682, allocations: 0 / 0.6552 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1682, allocations: 0 / 0.6552 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1682, allocations: 0 / 0.6552 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.1684, allocations: 159.4 kB / 0.6553 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.1684, allocations: 81.11 kB / 0.6554 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.1685, allocations: 4 kB / 0.6554 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.887e-05/0.1685, allocations: 0 / 0.6554 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.1685, allocations: 3.984 kB / 0.6554 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1686, allocations: 4 kB / 0.6554 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.035e-05/0.1686, allocations: 79.28 kB / 0.6555 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1686, allocations: 0 / 0.6555 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002524/0.1689, allocations: 19.94 kB / 0.6555 GB, free: 14.2 MB / 0.4981 GB 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.0005682/0.1694, allocations: 0.7083 MB / 0.6562 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.957e-05/0.1695, allocations: 20 kB / 0.6562 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1696, allocations: 0 / 0.6562 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.593e-05/0.1696, allocations: 19.92 kB / 0.6562 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.1698, allocations: 5.719 kB / 0.6562 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.1702, allocations: 156.3 kB / 0.6564 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1706, allocations: 0.6768 MB / 0.6571 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.1706, allocations: 4 kB / 0.6571 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.1706, allocations: 11.42 kB / 0.6571 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1707, allocations: 0 / 0.6571 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.1946, allocations: 1.398 MB / 0.6584 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.2, allocations: 4.984 kB / 0.6584 GB, free: 11.25 MB / 0.4981 GB (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)