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.001307/0.001307, allocations: 106.4 kB / 16.4 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.001326/0.001326, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.295/1.295, 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.6925/0.6925, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.97 kB / 0.5572 GB, free: 32.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1448, allocations: 76.17 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example5): time 0.001639/0.1465, allocations: 0.5077 MB / 0.6321 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001927/0.1467, allocations: 43.86 kB / 0.6321 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/0.1468, allocations: 0 / 0.6321 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.1468, allocations: 3.938 kB / 0.6321 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.147, allocations: 3.938 kB / 0.6321 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.693e-05/0.147, allocations: 19.92 kB / 0.6321 GB, free: 4.336 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.866e-05/0.1471, allocations: 11.92 kB / 0.6321 GB, free: 4.324 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.1472, allocations: 0 / 0.6321 GB, free: 4.324 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.401e-05/0.1472, allocations: 7.984 kB / 0.6322 GB, free: 4.316 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.853e-05/0.1473, allocations: 8 kB / 0.6322 GB, free: 4.309 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1473, allocations: 0 / 0.6322 GB, free: 4.309 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-06/0.1473, allocations: 0 / 0.6322 GB, free: 4.309 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.488e-05/0.1474, allocations: 15.92 kB / 0.6322 GB, free: 4.293 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.1474, allocations: 0 / 0.6322 GB, free: 4.293 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.124e-05/0.1475, allocations: 11.92 kB / 0.6322 GB, free: 4.281 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.1475, allocations: 4 kB / 0.6322 GB, free: 4.277 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1475, allocations: 0 / 0.6322 GB, free: 4.277 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1476, allocations: 0 / 0.6322 GB, free: 4.277 MB / 478.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.0004598/0.148, allocations: 334.3 kB / 0.6325 GB, free: 3.902 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1481, allocations: 12.03 kB / 0.6325 GB, free: 3.891 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.332e-05/0.1481, allocations: 34.69 kB / 0.6326 GB, free: 3.848 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.1481, allocations: 4.938 kB / 0.6326 GB, free: 3.844 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.1483, allocations: 180.3 kB / 0.6327 GB, free: 3.629 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.1483, allocations: 384 / 0.6327 GB, free: 3.629 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.1484, allocations: 384 / 0.6327 GB, free: 3.629 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.26e-05/0.1485, allocations: 34.25 kB / 0.6328 GB, free: 3.59 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1485, allocations: 3.938 kB / 0.6328 GB, free: 3.586 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1485, allocations: 0 / 0.6328 GB, free: 3.586 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1485, allocations: 3.984 kB / 0.6328 GB, free: 3.582 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.991e-05/0.1485, allocations: 7.938 kB / 0.6328 GB, free: 3.574 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.1487, allocations: 157.7 kB / 0.6329 GB, free: 3.371 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.62e-05/0.1487, allocations: 22.86 kB / 0.6329 GB, free: 3.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.1488, allocations: 8.844 kB / 0.633 GB, free: 3.328 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.1488, allocations: 0 / 0.633 GB, free: 3.328 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.1488, allocations: 34.62 kB / 0.633 GB, free: 3.285 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.1488, allocations: 0 / 0.633 GB, free: 3.285 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001482/0.149, allocations: 45.72 kB / 0.633 GB, free: 3.234 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.149, allocations: 59.38 kB / 0.6331 GB, free: 3.164 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.1491, allocations: 113.8 kB / 0.6332 GB, free: 3.043 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.1491, allocations: 25.7 kB / 0.6332 GB, free: 3.012 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.1492, allocations: 80.14 kB / 0.6333 GB, free: 2.93 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.1492, allocations: 11.91 kB / 0.6333 GB, free: 2.918 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.1492, allocations: 17.7 kB / 0.6333 GB, free: 2.895 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.1493, allocations: 310.8 kB / 0.6336 GB, free: 2.582 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/0.1494, allocations: 12 kB / 0.6336 GB, free: 2.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.811e-05/0.1494, allocations: 17.7 kB / 0.6337 GB, free: 2.547 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.1494, allocations: 21.66 kB / 0.6337 GB, free: 2.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1494, allocations: 0 / 0.6337 GB, free: 2.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.359e-05/0.1495, allocations: 49.62 kB / 0.6337 GB, free: 2.465 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1495, allocations: 13.97 kB / 0.6337 GB, free: 2.453 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1496, allocations: 4.125 kB / 0.6337 GB, free: 2.449 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1496, allocations: 0 / 0.6337 GB, free: 2.449 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.186e-05/0.1497, allocations: 7.984 kB / 0.6337 GB, free: 2.441 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1497, allocations: 0 / 0.6337 GB, free: 2.441 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.1497, allocations: 0 / 0.6337 GB, free: 2.441 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1497, allocations: 4 kB / 0.6337 GB, free: 2.438 MB / 478.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.313e-05/0.1498, allocations: 109.8 kB / 0.6339 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.1498, allocations: 3.938 kB / 0.6339 GB, free: 2.316 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.1499, allocations: 57.2 kB / 0.6339 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1499, allocations: 0 / 0.6339 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1499, allocations: 0 / 0.6339 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1499, allocations: 0 / 0.6339 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.15, allocations: 157.7 kB / 0.6341 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1501, allocations: 0 / 0.6341 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.1501, allocations: 4 kB / 0.6341 GB, free: 2.043 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1501, allocations: 7.875 kB / 0.6341 GB, free: 2.035 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.1501, allocations: 0 / 0.6341 GB, free: 2.035 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1501, allocations: 0 / 0.6341 GB, free: 2.035 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1501, allocations: 0 / 0.6341 GB, free: 2.035 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.1503, allocations: 93.02 kB / 0.6342 GB, free: 1.926 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.1503, allocations: 77.67 kB / 0.6342 GB, free: 1.832 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.1504, allocations: 7.922 kB / 0.6342 GB, free: 1.824 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.146e-05/0.1504, allocations: 4 kB / 0.6342 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.1504, allocations: 0 / 0.6342 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.1504, allocations: 256 / 0.6342 GB, free: 1.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.828e-05/0.1505, allocations: 95.27 kB / 0.6343 GB, free: 1.727 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1505, allocations: 4.094 kB / 0.6343 GB, free: 1.723 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001756/0.1506, allocations: 4 kB / 0.6343 GB, free: 1.719 MB / 478.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.0003654/0.151, allocations: 0.6162 MB / 0.6349 GB, free: 1.074 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 8.217e-05/0.1511, allocations: 8 kB / 0.635 GB, free: 1.066 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1511, allocations: 4.219 kB / 0.635 GB, free: 1.062 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.459e-05/0.1511, allocations: 7.984 kB / 0.635 GB, free: 1.055 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.1513, allocations: 4 kB / 0.635 GB, free: 1.051 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009815/0.1523, allocations: 1.151 MB / 0.6361 GB, free: 15.81 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.1525, allocations: 0.6768 MB / 0.6368 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.081e-05/0.1525, allocations: 4 kB / 0.6368 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.1526, allocations: 7.438 kB / 0.6368 GB, free: 15.1 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1526, allocations: 4 kB / 0.6368 GB, free: 15.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5603/0.7129, allocations: 1.184 MB / 0.6379 GB, free: 13.97 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.93, allocations: 18.66 kB / 0.6379 GB, free: 13.96 MB / 494.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)