Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.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.Example5,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example5,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5",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.001255/0.001255, allocations: 108.1 kB / 16.4 MB, free: 6.457 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.001198/0.001198, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7979/0.7979, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 75.58 kB / 0.5735 GB, free: 26.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.136, allocations: 78.85 MB / 0.6505 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example5): time 0.00155/0.1376, allocations: 0.521 MB / 0.651 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001648/0.1377, allocations: 47.8 kB / 0.6511 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.1378, allocations: 3.938 kB / 0.6511 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.276e-05/0.1378, allocations: 0 / 0.6511 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.138, allocations: 7.938 kB / 0.6511 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.508e-05/0.138, allocations: 3.984 kB / 0.6511 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.835e-05/0.1381, allocations: 15.94 kB / 0.6511 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.1381, allocations: 4 kB / 0.6511 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/0.1382, allocations: 4 kB / 0.6511 GB, free: 3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.82e-05/0.1382, allocations: 15.91 kB / 0.6511 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.1383, allocations: 0 / 0.6511 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-06/0.1383, allocations: 0 / 0.6511 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.938e-05/0.1383, allocations: 8 kB / 0.6511 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.1383, allocations: 7.922 kB / 0.6512 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.487e-05/0.1384, allocations: 4 kB / 0.6512 GB, free: 2.965 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1384, allocations: 0 / 0.6512 GB, free: 2.965 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1384, allocations: 0 / 0.6512 GB, free: 2.965 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1384, allocations: 0 / 0.6512 GB, free: 2.965 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004105/0.1388, allocations: 343.7 kB / 0.6515 GB, free: 2.582 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1389, allocations: 8.031 kB / 0.6515 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.1389, allocations: 34.75 kB / 0.6515 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.983e-05/0.139, allocations: 0.9375 kB / 0.6515 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.1391, allocations: 172.3 kB / 0.6517 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.465e-06/0.1392, allocations: 4.312 kB / 0.6517 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.1392, allocations: 8.125 kB / 0.6517 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.084e-05/0.1393, allocations: 33.64 kB / 0.6517 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1393, allocations: 8 kB / 0.6517 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-06/0.1393, allocations: 0 / 0.6517 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1393, allocations: 0 / 0.6517 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.713e-05/0.1393, allocations: 3.984 kB / 0.6517 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.1395, allocations: 153.7 kB / 0.6519 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.165e-05/0.1395, allocations: 18.95 kB / 0.6519 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.329e-05/0.1396, allocations: 12.86 kB / 0.6519 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.1396, allocations: 7.922 kB / 0.6519 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1396, allocations: 38.55 kB / 0.652 GB, free: 1.965 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1396, allocations: 0 / 0.652 GB, free: 1.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001272/0.1397, allocations: 41.69 kB / 0.652 GB, free: 1.918 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.1398, allocations: 51.41 kB / 0.6521 GB, free: 1.855 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/0.1399, allocations: 117.8 kB / 0.6522 GB, free: 1.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1399, allocations: 25.7 kB / 0.6522 GB, free: 1.699 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.14, allocations: 80.14 kB / 0.6523 GB, free: 1.617 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.14, allocations: 8.078 kB / 0.6523 GB, free: 1.609 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.14, allocations: 17.72 kB / 0.6523 GB, free: 1.586 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1401, allocations: 318.8 kB / 0.6526 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.909e-05/0.1402, allocations: 4 kB / 0.6526 GB, free: 1.262 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.126e-05/0.1402, allocations: 17.66 kB / 0.6526 GB, free: 1.238 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.543e-05/0.1402, allocations: 29.77 kB / 0.6526 GB, free: 1.203 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1403, allocations: 0 / 0.6526 GB, free: 1.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.531e-05/0.1403, allocations: 53.56 kB / 0.6527 GB, free: 1.145 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1404, allocations: 4 kB / 0.6527 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1404, allocations: 0 / 0.6527 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1404, allocations: 4 kB / 0.6527 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.624e-05/0.1404, allocations: 0 / 0.6527 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1405, allocations: 7.984 kB / 0.6527 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.187e-05/0.1405, allocations: 0 / 0.6527 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1405, allocations: 0 / 0.6527 GB, free: 1.129 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 8.338e-05/0.1406, allocations: 113.9 kB / 0.6528 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.1406, allocations: 7.891 kB / 0.6528 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.1407, allocations: 57.14 kB / 0.6529 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1407, allocations: 4.188 kB / 0.6529 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1407, allocations: 3.984 kB / 0.6529 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1407, allocations: 4 kB / 0.6529 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.1409, allocations: 157.6 kB / 0.653 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1409, allocations: 4 kB / 0.6531 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.383e-05/0.1409, allocations: 4.031 kB / 0.6531 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1409, allocations: 0 / 0.6531 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.1409, allocations: 4 kB / 0.6531 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.141, allocations: 0 / 0.6531 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.141, allocations: 0 / 0.6531 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.1411, allocations: 80.98 kB / 0.6531 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.1411, allocations: 85.09 kB / 0.6532 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.1412, allocations: 0 / 0.6532 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.936e-05/0.1412, allocations: 4.094 kB / 0.6532 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.1412, allocations: 7.984 kB / 0.6532 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-06/0.1412, allocations: 4 kB / 0.6532 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.151e-05/0.1413, allocations: 79.28 kB / 0.6533 GB, free: 428 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1413, allocations: 4 kB / 0.6533 GB, free: 424 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001732/0.1415, allocations: 4 kB / 0.6533 GB, free: 420 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0004059/0.1419, allocations: 0.6124 MB / 0.6539 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.91e-05/0.142, allocations: 23.92 kB / 0.6539 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.142, allocations: 0 / 0.6539 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.357e-05/0.142, allocations: 4 kB / 0.6539 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.1421, allocations: 5.859 kB / 0.6539 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009929/0.1431, allocations: 1.155 MB / 0.6551 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.1434, allocations: 0.6807 MB / 0.6557 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.653e-05/0.1434, allocations: 0 / 0.6557 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.1435, allocations: 15.44 kB / 0.6558 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1435, allocations: 0 / 0.6558 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.1657, allocations: 1.191 MB / 0.6569 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/7.982, allocations: 4.656 kB / 0.6569 GB, free: 12.65 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe 2>&1)