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.001571/0.001571, 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.001608/0.001609, allocations: 210 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.305/1.305, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6997/0.6997, allocations: 115.3 MB / 405.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.94 kB / 493 MB, free: 6.773 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.136, allocations: 76.18 MB / 0.5558 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example5): time 0.001685/0.1377, allocations: 0.5833 MB / 0.5564 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001444/0.1379, allocations: 38.39 kB / 0.5564 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.1379, allocations: 0 / 0.5564 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.138, allocations: 0 / 0.5564 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.1381, allocations: 11.92 kB / 0.5565 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.919e-05/0.1382, allocations: 0 / 0.5565 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.676e-05/0.1382, allocations: 23.98 kB / 0.5565 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.1383, allocations: 0 / 0.5565 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.593e-05/0.1383, allocations: 7.938 kB / 0.5565 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.1384, allocations: 7.984 kB / 0.5565 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1384, allocations: 0 / 0.5565 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.1384, allocations: 0 / 0.5565 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.1385, allocations: 11.88 kB / 0.5565 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.1385, allocations: 7.984 kB / 0.5565 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.086e-05/0.1386, allocations: 11.92 kB / 0.5565 GB, free: 10.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1386, allocations: 0 / 0.5565 GB, free: 10.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1386, allocations: 0 / 0.5565 GB, free: 10.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1386, allocations: 4 kB / 0.5565 GB, free: 10.08 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003848/0.139, allocations: 323.8 kB / 0.5568 GB, free: 9.711 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.139, allocations: 8.031 kB / 0.5568 GB, free: 9.703 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.1391, allocations: 34.75 kB / 0.5569 GB, free: 9.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.1391, allocations: 8.922 kB / 0.5569 GB, free: 9.652 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.1393, allocations: 172.2 kB / 0.557 GB, free: 9.445 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.949e-06/0.1393, allocations: 384 / 0.557 GB, free: 9.445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.1393, allocations: 384 / 0.557 GB, free: 9.445 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.718e-05/0.1394, allocations: 38.25 kB / 0.5571 GB, free: 9.402 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1394, allocations: 3.938 kB / 0.5571 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.1394, allocations: 0 / 0.5571 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1394, allocations: 0 / 0.5571 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.873e-05/0.1394, allocations: 7.938 kB / 0.5571 GB, free: 9.391 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.1396, allocations: 157.7 kB / 0.5572 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.904e-05/0.1396, allocations: 26.56 kB / 0.5573 GB, free: 9.152 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.1396, allocations: 8.922 kB / 0.5573 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.1397, allocations: 8 kB / 0.5573 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1397, allocations: 30.56 kB / 0.5573 GB, free: 9.094 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1397, allocations: 3.938 kB / 0.5573 GB, free: 9.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.1398, allocations: 49.5 kB / 0.5574 GB, free: 9.035 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.1399, allocations: 55.41 kB / 0.5574 GB, free: 8.969 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.518e-05/0.14, allocations: 109.8 kB / 0.5575 GB, free: 8.852 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.14, allocations: 25.7 kB / 0.5576 GB, free: 8.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.14, allocations: 92.25 kB / 0.5576 GB, free: 8.727 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.14, allocations: 7.906 kB / 0.5576 GB, free: 8.719 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.1401, allocations: 13.72 kB / 0.5577 GB, free: 8.699 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.431e-05/0.1402, allocations: 314.8 kB / 0.558 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.1402, allocations: 7.984 kB / 0.558 GB, free: 8.375 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.163e-05/0.1402, allocations: 13.72 kB / 0.558 GB, free: 8.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.174e-05/0.1403, allocations: 29.7 kB / 0.558 GB, free: 8.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1403, allocations: 0 / 0.558 GB, free: 8.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.511e-05/0.1404, allocations: 45.69 kB / 0.5581 GB, free: 8.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1404, allocations: 9.812 kB / 0.5581 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1404, allocations: 0 / 0.5581 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1404, allocations: 0 / 0.5581 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.76e-05/0.1405, allocations: 7.938 kB / 0.5581 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1405, allocations: 0 / 0.5581 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.517e-05/0.1405, allocations: 4 kB / 0.5581 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.1405, allocations: 4.062 kB / 0.5581 GB, free: 8.246 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 (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 6.928e-05/0.1406, allocations: 113.8 kB / 0.5582 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.1406, allocations: 7.938 kB / 0.5582 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.121e-05/0.1407, allocations: 45.22 kB / 0.5582 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1407, allocations: 4 kB / 0.5582 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1407, allocations: 0 / 0.5582 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1408, allocations: 0 / 0.5582 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.1409, allocations: 149.7 kB / 0.5584 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1409, allocations: 0 / 0.5584 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.1409, allocations: 15.97 kB / 0.5584 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1409, allocations: 7.922 kB / 0.5584 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.141, allocations: 0 / 0.5584 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.141, allocations: 0 / 0.5584 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.141, allocations: 0 / 0.5584 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.1411, allocations: 77.03 kB / 0.5585 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.1411, allocations: 81.09 kB / 0.5586 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.1412, allocations: 12 kB / 0.5586 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.23e-05/0.1412, allocations: 4 kB / 0.5586 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.1412, allocations: 0 / 0.5586 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.1412, allocations: 0 / 0.5586 GB, free: 7.637 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.728e-05/0.1413, allocations: 95.52 kB / 0.5587 GB, free: 7.543 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1413, allocations: 0 / 0.5587 GB, free: 7.543 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001854/0.1415, allocations: 4 kB / 0.5587 GB, free: 7.539 MB / 430.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.0003588/0.1418, allocations: 0.6271 MB / 0.5593 GB, free: 6.887 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.2e-05/0.1419, allocations: 11.98 kB / 0.5593 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1419, allocations: 0 / 0.5593 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.844e-05/0.1419, allocations: 15.94 kB / 0.5593 GB, free: 6.859 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.1421, allocations: 2.844 kB / 0.5593 GB, free: 6.859 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000891/0.143, allocations: 1.149 MB / 0.5604 GB, free: 5.621 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.1432, allocations: 0.677 MB / 0.5611 GB, free: 4.918 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.635e-05/0.1432, allocations: 4 kB / 0.5611 GB, free: 4.914 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.1433, allocations: 7.438 kB / 0.5611 GB, free: 4.906 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1433, allocations: 0 / 0.5611 GB, free: 4.906 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3007/0.4439, allocations: 1.04 MB / 0.5621 GB, free: 3.945 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/0.4442, allocations: 190.9 kB / 0.5623 GB, free: 3.688 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.327, allocations: 0 / 0.5623 GB, free: 3.688 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe 2>&1)