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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009855/0.0009856, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4986/0.4986, allocations: 90.91 MB / 99.34 MB, free: 2.145 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.5 MB / 343.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008447/0.000845, allocations: 86.55 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.922e-05/1.92e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1378, allocations: 72.31 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4642/0.6021, allocations: 99.98 MB / 0.6512 GB, free: 10 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.6023, allocations: 66.34 kB / 0.6513 GB, free: 9.965 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001249/0.6036, allocations: 489.2 kB / 0.6518 GB, free: 9.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.6036, allocations: 0 / 0.6518 GB, free: 9.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.6037, allocations: 0 / 0.6518 GB, free: 9.52 MB / 458.7 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.000336/0.604, allocations: 333.5 kB / 0.6521 GB, free: 9.156 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.6041, allocations: 8.031 kB / 0.6521 GB, free: 9.148 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.6041, allocations: 7.953 kB / 0.6521 GB, free: 9.141 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.6044, allocations: 171.1 kB / 0.6523 GB, free: 8.934 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.6044, allocations: 0 / 0.6523 GB, free: 8.934 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.6044, allocations: 0 / 0.6523 GB, free: 8.934 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.686e-05/0.6045, allocations: 7.938 kB / 0.6523 GB, free: 8.926 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.286e-05/0.6045, allocations: 32.44 kB / 0.6523 GB, free: 8.891 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.6046, allocations: 0 / 0.6523 GB, free: 8.891 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.6046, allocations: 0 / 0.6523 GB, free: 8.891 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.6046, allocations: 11.95 kB / 0.6523 GB, free: 8.879 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.6047, allocations: 128.9 kB / 0.6524 GB, free: 8.719 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.086e-05/0.6048, allocations: 18.61 kB / 0.6525 GB, free: 8.691 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.6048, allocations: 8.922 kB / 0.6525 GB, free: 8.68 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.6048, allocations: 0 / 0.6525 GB, free: 8.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.6049, allocations: 35.25 kB / 0.6525 GB, free: 8.637 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.6049, allocations: 4 kB / 0.6525 GB, free: 8.633 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.605, allocations: 37.69 kB / 0.6525 GB, free: 8.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.6051, allocations: 54.14 kB / 0.6526 GB, free: 8.527 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.093e-05/0.6052, allocations: 106.4 kB / 0.6527 GB, free: 8.426 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.6052, allocations: 25.7 kB / 0.6527 GB, free: 8.395 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.6053, allocations: 84.14 kB / 0.6528 GB, free: 8.309 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.6053, allocations: 3.906 kB / 0.6528 GB, free: 8.305 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.6053, allocations: 3.938 kB / 0.6528 GB, free: 8.301 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.6054, allocations: 325.1 kB / 0.6531 GB, free: 7.977 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.6055, allocations: 4 kB / 0.6531 GB, free: 7.973 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/0.6055, allocations: 16.66 kB / 0.6531 GB, free: 7.953 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.209e-05/0.6055, allocations: 4 kB / 0.6531 GB, free: 7.949 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6055, allocations: 0 / 0.6531 GB, free: 7.949 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.307e-05/0.6056, allocations: 45.62 kB / 0.6532 GB, free: 7.898 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.6056, allocations: 4 kB / 0.6532 GB, free: 7.895 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6057, allocations: 8.109 kB / 0.6532 GB, free: 7.887 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.6057, allocations: 0 / 0.6532 GB, free: 7.887 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.6058, allocations: 4 kB / 0.6532 GB, free: 7.883 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.6058, allocations: 0 / 0.6532 GB, free: 7.883 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.6058, allocations: 4 kB / 0.6532 GB, free: 7.879 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.6058, allocations: 3.984 kB / 0.6532 GB, free: 7.875 MB / 458.7 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 () * 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 7.5e-05/0.6059, allocations: 108.9 kB / 0.6533 GB, free: 7.762 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.219e-05/0.606, allocations: 45.53 kB / 0.6534 GB, free: 7.711 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.606, allocations: 7.125 kB / 0.6534 GB, free: 7.707 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.6061, allocations: 49.45 kB / 0.6534 GB, free: 7.656 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.6061, allocations: 0 / 0.6534 GB, free: 7.656 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6061, allocations: 3.938 kB / 0.6534 GB, free: 7.652 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6061, allocations: 0 / 0.6534 GB, free: 7.652 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.6062, allocations: 141.2 kB / 0.6536 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6063, allocations: 0 / 0.6536 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.6063, allocations: 0 / 0.6536 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.6063, allocations: 4 kB / 0.6536 GB, free: 7.477 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.6063, allocations: 0 / 0.6536 GB, free: 7.477 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.6063, allocations: 0 / 0.6536 GB, free: 7.477 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6064, allocations: 7.969 kB / 0.6536 GB, free: 7.469 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.6065, allocations: 82.69 kB / 0.6536 GB, free: 7.379 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.6065, allocations: 81.02 kB / 0.6537 GB, free: 7.281 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.6066, allocations: 4.031 kB / 0.6537 GB, free: 7.277 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.6066, allocations: 0 / 0.6537 GB, free: 7.277 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.6066, allocations: 0 / 0.6537 GB, free: 7.277 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.6066, allocations: 0 / 0.6537 GB, free: 7.277 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.517e-05/0.6067, allocations: 94.67 kB / 0.6538 GB, free: 7.188 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6067, allocations: 0 / 0.6538 GB, free: 7.188 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000198/0.6069, allocations: 4 kB / 0.6538 GB, free: 7.184 MB / 458.7 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 () * 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.0004478/0.6074, allocations: 0.6111 MB / 0.6544 GB, free: 6.547 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.14e-05/0.6074, allocations: 12.09 kB / 0.6544 GB, free: 6.535 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6075, allocations: 0 / 0.6544 GB, free: 6.535 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.539e-05/0.6075, allocations: 7.984 kB / 0.6544 GB, free: 6.527 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.6076, allocations: 7.938 kB / 0.6544 GB, free: 6.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.608, allocations: 108.9 kB / 0.6545 GB, free: 6.383 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.6084, allocations: 0.6846 MB / 0.6552 GB, free: 5.672 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.051e-05/0.6084, allocations: 0 / 0.6552 GB, free: 5.672 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.6084, allocations: 15.38 kB / 0.6552 GB, free: 5.656 MB / 458.7 MB Notification: Performance of SimCode: time 3.7e-07/0.6084, allocations: 4.188 kB / 0.6552 GB, free: 5.652 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.6315, allocations: 0.655 MB / 0.6559 GB, free: 5.004 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/0.6317, allocations: 134.7 kB / 0.656 GB, free: 4.805 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/2.081, allocations: 0 / 0.656 GB, free: 4.805 MB / 458.7 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)