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.001527/0.001527, allocations: 107.9 kB / 16.41 MB, free: 6.5 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.001811/0.001811, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7624/0.7624, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.59 kB / 0.568 GB, free: 29.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1643, allocations: 77.92 MB / 0.6441 GB, free: 9.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00263/0.167, allocations: 1.27 MB / 0.6453 GB, free: 8.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1681, allocations: 0.5919 MB / 0.6459 GB, free: 7.676 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.1682, allocations: 0 / 0.6459 GB, free: 7.676 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.1682, allocations: 7.922 kB / 0.6459 GB, free: 7.668 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.352e-05/0.1683, allocations: 3.938 kB / 0.6459 GB, free: 7.664 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006564/0.1689, allocations: 135.5 kB / 0.646 GB, free: 7.531 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.516e-05/0.169, allocations: 27.84 kB / 0.646 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.1691, allocations: 0 / 0.646 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.803e-05/0.1691, allocations: 11.94 kB / 0.6461 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.853e-05/0.1692, allocations: 11.98 kB / 0.6461 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1692, allocations: 4 kB / 0.6461 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005313/0.1697, allocations: 343.3 kB / 0.6464 GB, free: 7.141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.1697, allocations: 4 kB / 0.6464 GB, free: 7.137 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.1698, allocations: 7.938 kB / 0.6464 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.1701, allocations: 151.8 kB / 0.6466 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1701, allocations: 0 / 0.6466 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1701, allocations: 0 / 0.6466 GB, free: 6.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1701, allocations: 3.984 kB / 0.6466 GB, free: 6.977 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.0004822/0.1706, allocations: 364.9 kB / 0.6469 GB, free: 6.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.1707, allocations: 12.62 kB / 0.6469 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.1707, allocations: 34.75 kB / 0.647 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.1708, allocations: 0.9375 kB / 0.647 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.1709, allocations: 172.3 kB / 0.6471 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1709, allocations: 384 / 0.6471 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.1709, allocations: 8.375 kB / 0.6471 GB, free: 6.301 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.1711, allocations: 42.25 kB / 0.6472 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1711, allocations: 7.875 kB / 0.6472 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1711, allocations: 0 / 0.6472 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1711, allocations: 4 kB / 0.6472 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.267e-05/0.1712, allocations: 15.94 kB / 0.6472 GB, free: 6.227 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.1715, allocations: 252.9 kB / 0.6474 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.1718, allocations: 50.56 kB / 0.6475 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.1718, allocations: 20.84 kB / 0.6475 GB, free: 5.848 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.1718, allocations: 0 / 0.6475 GB, free: 5.848 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.1719, allocations: 38.56 kB / 0.6475 GB, free: 5.801 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.1719, allocations: 0 / 0.6475 GB, free: 5.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001954/0.1721, allocations: 57.62 kB / 0.6476 GB, free: 5.738 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.1721, allocations: 51.41 kB / 0.6476 GB, free: 5.676 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.281e-05/0.1722, allocations: 97.84 kB / 0.6477 GB, free: 5.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1722, allocations: 29.7 kB / 0.6478 GB, free: 5.535 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.1723, allocations: 88.09 kB / 0.6478 GB, free: 5.445 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.1723, allocations: 7.891 kB / 0.6479 GB, free: 5.438 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.1724, allocations: 21.72 kB / 0.6479 GB, free: 5.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1725, allocations: 314.8 kB / 0.6482 GB, free: 5.094 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.294e-05/0.1725, allocations: 8 kB / 0.6482 GB, free: 5.086 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.175e-05/0.1726, allocations: 25.72 kB / 0.6482 GB, free: 5.055 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.39e-05/0.1726, allocations: 33.64 kB / 0.6482 GB, free: 5.016 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1726, allocations: 3.938 kB / 0.6482 GB, free: 5.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001063/0.1727, allocations: 65.58 kB / 0.6483 GB, free: 4.941 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1728, allocations: 8 kB / 0.6483 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1728, allocations: 0 / 0.6483 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1728, allocations: 0 / 0.6483 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/0.1728, allocations: 8 kB / 0.6483 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1729, allocations: 0 / 0.6483 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.599e-05/0.1729, allocations: 432 / 0.6483 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1729, allocations: 4 kB / 0.6483 GB, free: 4.922 MB / 494.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 7.807e-05/0.173, allocations: 117.8 kB / 0.6484 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.173, allocations: 8.031 kB / 0.6484 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.1732, allocations: 61.11 kB / 0.6485 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1732, allocations: 4 kB / 0.6485 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1732, allocations: 0 / 0.6485 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1732, allocations: 0 / 0.6485 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.1734, allocations: 165.5 kB / 0.6487 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1734, allocations: 0 / 0.6487 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.1734, allocations: 15.92 kB / 0.6487 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1734, allocations: 0 / 0.6487 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.1734, allocations: 4 kB / 0.6487 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1735, allocations: 0 / 0.6487 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1735, allocations: 0 / 0.6487 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.1736, allocations: 151.5 kB / 0.6488 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.1737, allocations: 85.05 kB / 0.6489 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.1737, allocations: 0 / 0.6489 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-05/0.1737, allocations: 0 / 0.6489 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.1737, allocations: 3.984 kB / 0.6489 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1738, allocations: 12 kB / 0.6489 GB, free: 4.203 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.712e-05/0.1738, allocations: 75.28 kB / 0.649 GB, free: 4.129 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1738, allocations: 0 / 0.649 GB, free: 4.129 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.1741, allocations: 23.88 kB / 0.649 GB, free: 4.105 MB / 494.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.0004876/0.1746, allocations: 0.6978 MB / 0.6497 GB, free: 3.379 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.1747, allocations: 35.92 kB / 0.6497 GB, free: 3.344 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1747, allocations: 0 / 0.6497 GB, free: 3.344 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.222e-05/0.1747, allocations: 11.98 kB / 0.6497 GB, free: 3.332 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.175, allocations: 8 kB / 0.6498 GB, free: 3.324 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.1754, allocations: 156.1 kB / 0.6499 GB, free: 3.133 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.1757, allocations: 0.6768 MB / 0.6506 GB, free: 2.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.376e-05/0.1757, allocations: 8.062 kB / 0.6506 GB, free: 2.422 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.1758, allocations: 11.44 kB / 0.6506 GB, free: 2.41 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1758, allocations: 0 / 0.6506 GB, free: 2.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.1943, allocations: 1.406 MB / 0.652 GB, free: 1.141 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/7.879, allocations: 0 / 0.652 GB, free: 1.141 MB / 494.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)