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.0007233/0.0007232, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007403/0.0007403, allocations: 172 kB / 16.58 MB, free: 6.852 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.174/1.174, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5939/0.5939, allocations: 113.8 MB / 405.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002731/0.0002732, allocations: 15.98 kB / 493.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1232, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example5): time 0.0005478/0.1237, allocations: 246.3 kB / 0.5571 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001589/0.1239, allocations: 43.83 kB / 0.5572 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.124, allocations: 0 / 0.5572 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.124, allocations: 0 / 0.5572 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.798e-05/0.1241, allocations: 0 / 0.5572 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.583e-05/0.1242, allocations: 11.98 kB / 0.5572 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.493e-05/0.1242, allocations: 15.92 kB / 0.5572 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.1242, allocations: 0 / 0.5572 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.232e-05/0.1243, allocations: 4 kB / 0.5572 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.198e-05/0.1244, allocations: 11.92 kB / 0.5572 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1244, allocations: 0 / 0.5572 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-06/0.1244, allocations: 0 / 0.5572 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.1244, allocations: 4 kB / 0.5572 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.1244, allocations: 29.7 kB / 0.5572 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 3.385e-05/0.1245, allocations: 7.984 kB / 0.5572 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1245, allocations: 0 / 0.5572 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1245, allocations: 4 kB / 0.5573 GB, free: 11.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.735e-06/0.1245, allocations: 0 / 0.5573 GB, free: 11.31 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.0003483/0.1249, allocations: 327.6 kB / 0.5576 GB, free: 10.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1249, allocations: 12.03 kB / 0.5576 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.117e-05/0.1249, allocations: 38.5 kB / 0.5576 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.777e-05/0.125, allocations: 0 / 0.5576 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.1252, allocations: 175 kB / 0.5578 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.089e-06/0.1252, allocations: 4 kB / 0.5578 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.1252, allocations: 3.953 kB / 0.5578 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.008e-05/0.1253, allocations: 41.62 kB / 0.5578 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1253, allocations: 0 / 0.5578 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-06/0.1253, allocations: 0 / 0.5578 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1253, allocations: 0 / 0.5578 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.792e-05/0.1253, allocations: 11.92 kB / 0.5578 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.1255, allocations: 153.7 kB / 0.558 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.359e-05/0.1255, allocations: 18.52 kB / 0.558 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/0.1255, allocations: 12.92 kB / 0.558 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.1256, allocations: 0 / 0.558 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.1256, allocations: 38.5 kB / 0.558 GB, free: 10.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.1256, allocations: 0 / 0.558 GB, free: 10.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001098/0.1257, allocations: 49.59 kB / 0.5581 GB, free: 10.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.1257, allocations: 55.34 kB / 0.5582 GB, free: 10.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.098e-05/0.1258, allocations: 109.8 kB / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.1258, allocations: 25.7 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.1259, allocations: 88.27 kB / 0.5584 GB, free: 9.957 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.1259, allocations: 0 / 0.5584 GB, free: 9.957 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.126, allocations: 0 / 0.5584 GB, free: 9.957 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1261, allocations: 322.8 kB / 0.5587 GB, free: 9.633 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/0.1261, allocations: 0 / 0.5587 GB, free: 9.633 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.145e-05/0.1261, allocations: 17.72 kB / 0.5587 GB, free: 9.609 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.903e-05/0.1261, allocations: 8.047 kB / 0.5587 GB, free: 9.602 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1261, allocations: 8 kB / 0.5587 GB, free: 9.594 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.458e-05/0.1262, allocations: 45.62 kB / 0.5587 GB, free: 9.543 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1262, allocations: 9.828 kB / 0.5588 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.1262, allocations: 0 / 0.5588 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.1263, allocations: 0 / 0.5588 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.382e-05/0.1263, allocations: 4 kB / 0.5588 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.1263, allocations: 0 / 0.5588 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.1263, allocations: 4 kB / 0.5588 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1264, allocations: 0 / 0.5588 GB, free: 9.527 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.523e-05/0.1264, allocations: 113.9 kB / 0.5589 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.1264, allocations: 11.89 kB / 0.5589 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.627e-05/0.1265, allocations: 53.11 kB / 0.5589 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1266, allocations: 4 kB / 0.5589 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.1266, allocations: 0 / 0.5589 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1266, allocations: 0 / 0.5589 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.852e-05/0.1267, allocations: 153.7 kB / 0.5591 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1267, allocations: 0 / 0.5591 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.1267, allocations: 4 kB / 0.5591 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1267, allocations: 7.969 kB / 0.5591 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1267, allocations: 4.234 kB / 0.5591 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1268, allocations: 11.89 kB / 0.5591 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1268, allocations: 0 / 0.5591 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.1269, allocations: 73.12 kB / 0.5592 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.1269, allocations: 88.94 kB / 0.5593 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.1269, allocations: 4.031 kB / 0.5593 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.864e-05/0.127, allocations: 4.094 kB / 0.5593 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.127, allocations: 3.953 kB / 0.5593 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.127, allocations: 0 / 0.5593 GB, free: 8.898 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.327e-05/0.127, allocations: 91.27 kB / 0.5594 GB, free: 8.809 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.127, allocations: 0 / 0.5594 GB, free: 8.809 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001648/0.1272, allocations: 4 kB / 0.5594 GB, free: 8.805 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003294/0.1275, allocations: 0.6113 MB / 0.56 GB, free: 8.168 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.228e-05/0.1276, allocations: 15.92 kB / 0.56 GB, free: 8.152 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1276, allocations: 0 / 0.56 GB, free: 8.152 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.367e-05/0.1276, allocations: 8 kB / 0.56 GB, free: 8.145 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.1278, allocations: 10.06 kB / 0.56 GB, free: 8.137 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.1283, allocations: 389.6 kB / 0.5604 GB, free: 7.699 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1286, allocations: 0.677 MB / 0.561 GB, free: 6.996 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.477e-05/0.1286, allocations: 4 kB / 0.561 GB, free: 6.992 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.1286, allocations: 15.42 kB / 0.561 GB, free: 6.977 MB / 430.1 MB Notification: Performance of SimCode: time 1.483e-06/0.1286, allocations: 0 / 0.561 GB, free: 6.977 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009732/0.1384, allocations: 0.9852 MB / 0.562 GB, free: 6.121 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.1386, allocations: 176.8 kB / 0.5622 GB, free: 5.883 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.423/1.561, allocations: 4 kB / 0.5622 GB, free: 5.879 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/linux/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) Environment - environmentSimulation: