Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",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.001415/0.001415, allocations: 104.8 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.001655/0.001655, 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7087/0.7087, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.94 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1433, allocations: 76.18 MB / 0.6316 GB, free: 4.941 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example8): time 0.001807/0.1452, allocations: 0.5049 MB / 0.6321 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001501/0.1453, allocations: 11.92 kB / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.1454, allocations: 0 / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.1454, allocations: 0 / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.1456, allocations: 7.938 kB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.857e-06/0.1456, allocations: 0 / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.085e-05/0.1457, allocations: 15.92 kB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.844e-05/0.1458, allocations: 7.984 kB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/0.1458, allocations: 3.938 kB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.835e-05/0.1459, allocations: 0 / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1459, allocations: 0 / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.643e-06/0.1459, allocations: 0 / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.1459, allocations: 4 kB / 0.6321 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.1459, allocations: 3.938 kB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 5.393e-05/0.146, allocations: 0 / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.146, allocations: 0 / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.146, allocations: 0 / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.146, allocations: 4 kB / 0.6321 GB, free: 4.379 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003081/0.1463, allocations: 319.6 kB / 0.6324 GB, free: 4.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1464, allocations: 12.03 kB / 0.6324 GB, free: 4.008 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.959e-05/0.1464, allocations: 30.75 kB / 0.6325 GB, free: 3.969 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.391e-05/0.1465, allocations: 0.9375 kB / 0.6325 GB, free: 3.969 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1466, allocations: 168.3 kB / 0.6326 GB, free: 3.766 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1466, allocations: 384 / 0.6326 GB, free: 3.766 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1466, allocations: 4.375 kB / 0.6326 GB, free: 3.762 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.1467, allocations: 51.73 kB / 0.6327 GB, free: 3.699 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1467, allocations: 0 / 0.6327 GB, free: 3.699 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1467, allocations: 4 kB / 0.6327 GB, free: 3.695 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1467, allocations: 0 / 0.6327 GB, free: 3.695 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.585e-05/0.1468, allocations: 11.92 kB / 0.6327 GB, free: 3.684 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.1469, allocations: 158.5 kB / 0.6328 GB, free: 3.477 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.451e-05/0.147, allocations: 37.22 kB / 0.6329 GB, free: 3.422 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/0.147, allocations: 13.84 kB / 0.6329 GB, free: 3.402 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.1471, allocations: 3.938 kB / 0.6329 GB, free: 3.398 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.1471, allocations: 38.84 kB / 0.6329 GB, free: 3.352 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1471, allocations: 0 / 0.6329 GB, free: 3.352 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001486/0.1472, allocations: 49.78 kB / 0.633 GB, free: 3.297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.1473, allocations: 81.11 kB / 0.6331 GB, free: 3.199 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.461e-05/0.1474, allocations: 93.86 kB / 0.6331 GB, free: 3.098 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.1474, allocations: 29.64 kB / 0.6332 GB, free: 3.062 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/0.1474, allocations: 80.14 kB / 0.6333 GB, free: 2.98 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.1475, allocations: 10.8 kB / 0.6333 GB, free: 2.973 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.1475, allocations: 9.719 kB / 0.6333 GB, free: 2.957 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.1476, allocations: 315 kB / 0.6336 GB, free: 2.641 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/0.1476, allocations: 8 kB / 0.6336 GB, free: 2.633 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.529e-05/0.1476, allocations: 9.719 kB / 0.6336 GB, free: 2.617 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.1e-05/0.1477, allocations: 25.59 kB / 0.6336 GB, free: 2.586 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1477, allocations: 0 / 0.6336 GB, free: 2.586 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.472e-05/0.1477, allocations: 45.59 kB / 0.6337 GB, free: 2.535 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1478, allocations: 12.06 kB / 0.6337 GB, free: 2.523 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1478, allocations: 4 kB / 0.6337 GB, free: 2.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1478, allocations: 0 / 0.6337 GB, free: 2.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.258e-05/0.1479, allocations: 7.938 kB / 0.6337 GB, free: 2.512 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1479, allocations: 0 / 0.6337 GB, free: 2.512 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.1479, allocations: 0 / 0.6337 GB, free: 2.512 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1479, allocations: 3.984 kB / 0.6337 GB, free: 2.508 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.568e-05/0.148, allocations: 114.5 kB / 0.6338 GB, free: 2.387 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.148, allocations: 7.938 kB / 0.6338 GB, free: 2.379 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.1481, allocations: 48.75 kB / 0.6338 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1481, allocations: 0 / 0.6338 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1481, allocations: 4 kB / 0.6338 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1481, allocations: 0 / 0.6338 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.699e-05/0.1482, allocations: 149.7 kB / 0.634 GB, free: 2.125 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1483, allocations: 0 / 0.634 GB, free: 2.125 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.1483, allocations: 4 kB / 0.634 GB, free: 2.121 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1483, allocations: 3.938 kB / 0.634 GB, free: 2.117 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1483, allocations: 4 kB / 0.634 GB, free: 2.113 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1483, allocations: 4.062 kB / 0.634 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1483, allocations: 3.984 kB / 0.634 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.1e-05/0.1484, allocations: 69.92 kB / 0.6341 GB, free: 2.016 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.1485, allocations: 85.05 kB / 0.6342 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.1485, allocations: 0 / 0.6342 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.701e-05/0.1485, allocations: 4 kB / 0.6342 GB, free: 1.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.1485, allocations: 8.031 kB / 0.6342 GB, free: 1.902 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1485, allocations: 4 kB / 0.6342 GB, free: 1.898 MB / 478.1 MB Notification: Performance of sorting global known variables: time 2.843e-05/0.1486, allocations: 79.22 kB / 0.6342 GB, free: 1.82 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1486, allocations: 0 / 0.6342 GB, free: 1.82 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001772/0.1488, allocations: 3.984 kB / 0.6343 GB, free: 1.816 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0003655/0.1491, allocations: 0.6055 MB / 0.6348 GB, free: 1.176 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 8.959e-05/0.1492, allocations: 12 kB / 0.6349 GB, free: 1.164 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1492, allocations: 0 / 0.6349 GB, free: 1.164 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.1493, allocations: 7.938 kB / 0.6349 GB, free: 1.156 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.1494, allocations: 0 / 0.6349 GB, free: 1.156 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.1498, allocations: 123.8 kB / 0.635 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.15, allocations: 0.6729 MB / 0.6356 GB, free: 300 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.972e-05/0.1501, allocations: 3.938 kB / 0.6356 GB, free: 296 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.1501, allocations: 7.438 kB / 0.6357 GB, free: 288 kB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1501, allocations: 0 / 0.6357 GB, free: 288 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.1674, allocations: 0.9145 MB / 0.6365 GB, free: 15.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.292/7.459, allocations: 11.22 kB / 0.6366 GB, free: 15.42 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe 2>&1)