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.001104/0.001105, allocations: 102.3 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.00106/0.00106, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.228/1.228, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6634/0.6634, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 61.86 kB / 0.5572 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1314, allocations: 76.18 MB / 0.6316 GB, free: 4.797 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example5): time 0.001381/0.1328, allocations: 0.5127 MB / 0.6321 GB, free: 4.285 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001569/0.133, allocations: 43.8 kB / 0.6321 GB, free: 4.242 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.492e-05/0.1331, allocations: 4 kB / 0.6321 GB, free: 4.238 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.1331, allocations: 0 / 0.6321 GB, free: 4.238 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.1332, allocations: 7.938 kB / 0.6321 GB, free: 4.23 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.494e-05/0.1333, allocations: 4 kB / 0.6321 GB, free: 4.227 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.943e-05/0.1334, allocations: 15.86 kB / 0.6321 GB, free: 4.211 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.1334, allocations: 4 kB / 0.6321 GB, free: 4.207 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.809e-05/0.1335, allocations: 8 kB / 0.6322 GB, free: 4.199 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.632e-05/0.1335, allocations: 11.97 kB / 0.6322 GB, free: 4.188 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1335, allocations: 0 / 0.6322 GB, free: 4.188 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-06/0.1336, allocations: 0 / 0.6322 GB, free: 4.188 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.1336, allocations: 11.94 kB / 0.6322 GB, free: 4.176 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.1336, allocations: 3.984 kB / 0.6322 GB, free: 4.172 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 5.47e-05/0.1337, allocations: 11.94 kB / 0.6322 GB, free: 4.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1337, allocations: 0 / 0.6322 GB, free: 4.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1337, allocations: 0 / 0.6322 GB, free: 4.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.1337, allocations: 0 / 0.6322 GB, free: 4.16 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.0003741/0.1341, allocations: 334.3 kB / 0.6325 GB, free: 3.785 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1341, allocations: 8.031 kB / 0.6325 GB, free: 3.777 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.876e-05/0.1342, allocations: 30.75 kB / 0.6325 GB, free: 3.738 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.2e-05/0.1342, allocations: 4.938 kB / 0.6326 GB, free: 3.734 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.1344, allocations: 180.3 kB / 0.6327 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.1344, allocations: 384 / 0.6327 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.1344, allocations: 4.375 kB / 0.6327 GB, free: 3.516 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.556e-05/0.1345, allocations: 30.2 kB / 0.6328 GB, free: 3.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1345, allocations: 3.938 kB / 0.6328 GB, free: 3.477 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.1345, allocations: 0 / 0.6328 GB, free: 3.477 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1345, allocations: 4 kB / 0.6328 GB, free: 3.473 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.709e-05/0.1345, allocations: 3.984 kB / 0.6328 GB, free: 3.469 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.1347, allocations: 161.7 kB / 0.6329 GB, free: 3.262 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.671e-05/0.1347, allocations: 22.89 kB / 0.6329 GB, free: 3.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.1347, allocations: 12.86 kB / 0.633 GB, free: 3.215 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.1347, allocations: 0 / 0.633 GB, free: 3.215 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.1348, allocations: 38.55 kB / 0.633 GB, free: 3.168 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.1348, allocations: 0 / 0.633 GB, free: 3.168 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001182/0.1349, allocations: 45.62 kB / 0.633 GB, free: 3.117 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.1349, allocations: 55.53 kB / 0.6331 GB, free: 3.051 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.134e-05/0.135, allocations: 113.8 kB / 0.6332 GB, free: 2.93 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.135, allocations: 25.7 kB / 0.6332 GB, free: 2.898 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.1351, allocations: 84.14 kB / 0.6333 GB, free: 2.812 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.1351, allocations: 3.906 kB / 0.6333 GB, free: 2.809 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.1351, allocations: 21.66 kB / 0.6333 GB, free: 2.781 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.1352, allocations: 318.8 kB / 0.6336 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.1352, allocations: 7.938 kB / 0.6336 GB, free: 2.453 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.993e-05/0.1353, allocations: 17.72 kB / 0.6337 GB, free: 2.43 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.567e-05/0.1353, allocations: 25.7 kB / 0.6337 GB, free: 2.398 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1353, allocations: 0 / 0.6337 GB, free: 2.398 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.493e-05/0.1354, allocations: 49.61 kB / 0.6337 GB, free: 2.344 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1354, allocations: 7.938 kB / 0.6337 GB, free: 2.336 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1354, allocations: 128 / 0.6337 GB, free: 2.336 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1354, allocations: 4 kB / 0.6337 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.508e-05/0.1355, allocations: 4 kB / 0.6337 GB, free: 2.328 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1355, allocations: 4 kB / 0.6337 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.335e-05/0.1355, allocations: 3.984 kB / 0.6337 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.1355, allocations: 0 / 0.6337 GB, free: 2.32 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 6.389e-05/0.1356, allocations: 113.8 kB / 0.6339 GB, free: 2.199 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.1356, allocations: 3.938 kB / 0.6339 GB, free: 2.195 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.774e-05/0.1357, allocations: 49.16 kB / 0.6339 GB, free: 2.137 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1357, allocations: 4.031 kB / 0.6339 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1357, allocations: 0 / 0.6339 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1357, allocations: 3.984 kB / 0.6339 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.285e-05/0.1358, allocations: 153.7 kB / 0.6341 GB, free: 1.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1358, allocations: 0 / 0.6341 GB, free: 1.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.1359, allocations: 4 kB / 0.6341 GB, free: 1.926 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1359, allocations: 3.938 kB / 0.6341 GB, free: 1.922 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.1359, allocations: 4 kB / 0.6341 GB, free: 1.918 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1359, allocations: 3.938 kB / 0.6341 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1359, allocations: 0 / 0.6341 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.136, allocations: 88.95 kB / 0.6342 GB, free: 1.809 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.1361, allocations: 81.7 kB / 0.6342 GB, free: 1.711 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.1361, allocations: 3.938 kB / 0.6342 GB, free: 1.707 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.1361, allocations: 0 / 0.6342 GB, free: 1.707 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.1362, allocations: 4.234 kB / 0.6342 GB, free: 1.703 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1362, allocations: 4 kB / 0.6343 GB, free: 1.699 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.053e-05/0.1362, allocations: 87.28 kB / 0.6343 GB, free: 1.613 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1362, allocations: 4.094 kB / 0.6343 GB, free: 1.609 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001807/0.1364, allocations: 4 kB / 0.6343 GB, free: 1.605 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.0003187/0.1367, allocations: 0.6124 MB / 0.6349 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 7.091e-05/0.1368, allocations: 15.92 kB / 0.635 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1368, allocations: 8.219 kB / 0.635 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/0.1368, allocations: 4 kB / 0.635 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.137, allocations: 13.33 kB / 0.635 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008394/0.1378, allocations: 1.143 MB / 0.6361 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.138, allocations: 0.6768 MB / 0.6368 GB, free: 14.99 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.876e-05/0.1381, allocations: 4 kB / 0.6368 GB, free: 14.99 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.1381, allocations: 7.438 kB / 0.6368 GB, free: 14.98 MB / 494.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1381, allocations: 4 kB / 0.6368 GB, free: 14.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.1562, allocations: 1.184 MB / 0.6379 GB, free: 13.86 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.309/7.466, allocations: 10.06 kB / 0.6379 GB, free: 13.85 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)