Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.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.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",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.001642/0.001643, 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.001823/0.001823, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.371/1.371, 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.7816/0.7816, allocations: 126.7 MB / 417.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 67.36 kB / 0.5735 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1284, allocations: 78.86 MB / 0.6505 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example8): time 0.00149/0.1299, allocations: 0.5093 MB / 0.651 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001075/0.1301, allocations: 11.97 kB / 0.651 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.1301, allocations: 0 / 0.651 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.071e-05/0.1301, allocations: 0 / 0.651 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.1303, allocations: 3.938 kB / 0.651 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.826e-06/0.1303, allocations: 0 / 0.651 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.481e-05/0.1303, allocations: 15.92 kB / 0.6511 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.1304, allocations: 8 kB / 0.6511 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.762e-05/0.1304, allocations: 4 kB / 0.6511 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.115e-05/0.1304, allocations: 0 / 0.6511 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.487e-06/0.1304, allocations: 0 / 0.6511 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-06/0.1305, allocations: 0 / 0.6511 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.1305, allocations: 7.922 kB / 0.6511 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.377e-05/0.1305, allocations: 7.938 kB / 0.6511 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.923e-05/0.1305, allocations: 0 / 0.6511 GB, free: 3.039 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1305, allocations: 0 / 0.6511 GB, free: 3.039 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1306, allocations: 0 / 0.6511 GB, free: 3.039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1306, allocations: 0 / 0.6511 GB, free: 3.039 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002897/0.1309, allocations: 323.8 kB / 0.6514 GB, free: 2.676 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1309, allocations: 12.03 kB / 0.6514 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.044e-05/0.1309, allocations: 34.73 kB / 0.6514 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.71e-05/0.131, allocations: 0.9375 kB / 0.6514 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.1311, allocations: 160.4 kB / 0.6516 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.1311, allocations: 384 / 0.6516 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1311, allocations: 8.125 kB / 0.6516 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.86e-05/0.1312, allocations: 47.34 kB / 0.6516 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1312, allocations: 4 kB / 0.6517 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.1312, allocations: 4 kB / 0.6517 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1312, allocations: 0 / 0.6517 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.873e-05/0.1313, allocations: 0 / 0.6517 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.1314, allocations: 166.4 kB / 0.6518 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.267e-05/0.1315, allocations: 41.16 kB / 0.6519 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/0.1315, allocations: 13.78 kB / 0.6519 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1315, allocations: 4 kB / 0.6519 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.1316, allocations: 34.91 kB / 0.6519 GB, free: 2.012 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.645e-06/0.1316, allocations: 0 / 0.6519 GB, free: 2.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001184/0.1317, allocations: 45.56 kB / 0.6519 GB, free: 1.961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.1318, allocations: 85.36 kB / 0.652 GB, free: 1.859 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.421e-05/0.1318, allocations: 93.86 kB / 0.6521 GB, free: 1.758 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1319, allocations: 25.7 kB / 0.6521 GB, free: 1.727 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.1319, allocations: 80.14 kB / 0.6522 GB, free: 1.645 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.1319, allocations: 7.953 kB / 0.6522 GB, free: 1.637 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.132, allocations: 13.7 kB / 0.6522 GB, free: 1.617 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1321, allocations: 310.8 kB / 0.6525 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.1321, allocations: 12.06 kB / 0.6525 GB, free: 1.293 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.651e-05/0.1321, allocations: 13.72 kB / 0.6526 GB, free: 1.273 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.11e-05/0.1322, allocations: 17.72 kB / 0.6526 GB, free: 1.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1322, allocations: 0 / 0.6526 GB, free: 1.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.669e-05/0.1322, allocations: 49.56 kB / 0.6526 GB, free: 1.195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.1323, allocations: 4 kB / 0.6526 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1323, allocations: 8.125 kB / 0.6526 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1323, allocations: 4 kB / 0.6526 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.525e-05/0.1323, allocations: 0 / 0.6526 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.1324, allocations: 4 kB / 0.6526 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.435e-05/0.1324, allocations: 0 / 0.6526 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.1324, allocations: 0 / 0.6526 GB, free: 1.176 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 (2): * Single equations (assignments): 2 * 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.547e-05/0.1325, allocations: 117.8 kB / 0.6528 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.1325, allocations: 3.938 kB / 0.6528 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.1326, allocations: 52.75 kB / 0.6528 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1326, allocations: 0 / 0.6528 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1326, allocations: 0 / 0.6528 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1327, allocations: 4 kB / 0.6528 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.1328, allocations: 153.6 kB / 0.653 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1328, allocations: 0 / 0.653 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.1328, allocations: 7.984 kB / 0.653 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.1328, allocations: 0 / 0.653 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1329, allocations: 7.938 kB / 0.653 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1329, allocations: 0 / 0.653 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1329, allocations: 4.062 kB / 0.653 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.986e-05/0.133, allocations: 69.92 kB / 0.653 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.133, allocations: 81.11 kB / 0.6531 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.133, allocations: 0 / 0.6531 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.436e-05/0.1331, allocations: 7.875 kB / 0.6531 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.1331, allocations: 0 / 0.6531 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.1331, allocations: 8.031 kB / 0.6531 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.761e-05/0.1331, allocations: 79.28 kB / 0.6532 GB, free: 500 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1331, allocations: 0 / 0.6532 GB, free: 500 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001705/0.1333, allocations: 0 / 0.6532 GB, free: 500 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0004096/0.1337, allocations: 0.6132 MB / 0.6538 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.65e-05/0.1338, allocations: 19.92 kB / 0.6538 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1338, allocations: 0 / 0.6538 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.869e-06/0.1338, allocations: 4 kB / 0.6538 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.134, allocations: 1.719 kB / 0.6538 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.1343, allocations: 119.8 kB / 0.654 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.1346, allocations: 0.6729 MB / 0.6546 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.169e-05/0.1346, allocations: 4 kB / 0.6546 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.1346, allocations: 7.438 kB / 0.6546 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.1346, allocations: 0 / 0.6546 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.1544, allocations: 0.9342 MB / 0.6555 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/7.763, allocations: 8.656 kB / 0.6555 GB, free: 14.07 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe 2>&1)