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.001067/0.001067, allocations: 92.95 kB / 16.02 MB, free: 84 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.001546/0.001546, allocations: 182.2 kB / 16.92 MB, free: 6.914 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.339/1.339, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7033/0.7033, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.000346, allocations: 8.281 kB / 495.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.148, allocations: 77.53 MB / 0.56 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example8): time 0.0006678/0.1487, allocations: 242.4 kB / 0.5603 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001305/0.1489, allocations: 11.98 kB / 0.5603 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.391e-05/0.1489, allocations: 0 / 0.5603 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.1489, allocations: 3.938 kB / 0.5603 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.1491, allocations: 7.984 kB / 0.5603 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.906e-06/0.1491, allocations: 0 / 0.5603 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.028e-05/0.1492, allocations: 4 kB / 0.5603 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.577e-05/0.1492, allocations: 4 kB / 0.5603 GB, free: 8.695 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.947e-05/0.1493, allocations: 3.938 kB / 0.5603 GB, free: 8.691 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/0.1493, allocations: 11.92 kB / 0.5603 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.1494, allocations: 4 kB / 0.5603 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.1494, allocations: 0 / 0.5603 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.1494, allocations: 0 / 0.5603 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.1494, allocations: 29.64 kB / 0.5603 GB, free: 8.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.662e-05/0.1495, allocations: 3.938 kB / 0.5603 GB, free: 8.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1495, allocations: 0 / 0.5603 GB, free: 8.637 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.639e-06/0.1495, allocations: 3.984 kB / 0.5604 GB, free: 8.633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1495, allocations: 0 / 0.5604 GB, free: 8.633 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003168/0.1499, allocations: 307.6 kB / 0.5606 GB, free: 8.281 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.733e-05/0.1499, allocations: 12.03 kB / 0.5607 GB, free: 8.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.579e-05/0.15, allocations: 34.75 kB / 0.5607 GB, free: 8.227 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.15, allocations: 4.938 kB / 0.5607 GB, free: 8.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.1502, allocations: 160.4 kB / 0.5608 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1502, allocations: 4.359 kB / 0.5609 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.1502, allocations: 384 / 0.5609 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.1503, allocations: 39.98 kB / 0.5609 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1504, allocations: 7.875 kB / 0.5609 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1504, allocations: 4 kB / 0.5609 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1504, allocations: 4 kB / 0.5609 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.615e-05/0.1504, allocations: 0 / 0.5609 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.1506, allocations: 158.5 kB / 0.5611 GB, free: 7.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.94e-05/0.1507, allocations: 43.75 kB / 0.5611 GB, free: 7.691 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.864e-05/0.1508, allocations: 17.72 kB / 0.5611 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.1508, allocations: 0 / 0.5611 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1508, allocations: 34.62 kB / 0.5611 GB, free: 7.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1508, allocations: 0 / 0.5611 GB, free: 7.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001798/0.151, allocations: 53.47 kB / 0.5612 GB, free: 7.566 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.1511, allocations: 77.11 kB / 0.5613 GB, free: 7.473 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.831e-05/0.1512, allocations: 98.11 kB / 0.5614 GB, free: 7.367 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1512, allocations: 25.7 kB / 0.5614 GB, free: 7.336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.1513, allocations: 80.14 kB / 0.5615 GB, free: 7.254 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.1513, allocations: 12.2 kB / 0.5615 GB, free: 7.242 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.1513, allocations: 9.719 kB / 0.5615 GB, free: 7.227 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1515, allocations: 314.8 kB / 0.5618 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.255e-05/0.1515, allocations: 0 / 0.5618 GB, free: 6.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/0.1515, allocations: 17.66 kB / 0.5618 GB, free: 6.887 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.278e-05/0.1516, allocations: 21.91 kB / 0.5618 GB, free: 6.859 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1516, allocations: 3.938 kB / 0.5618 GB, free: 6.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.709e-05/0.1517, allocations: 41.62 kB / 0.5619 GB, free: 6.809 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.1517, allocations: 11.94 kB / 0.5619 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.1517, allocations: 4 kB / 0.5619 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1517, allocations: 3.938 kB / 0.5619 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.1518, allocations: 4 kB / 0.5619 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1518, allocations: 4.062 kB / 0.5619 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.218e-05/0.1519, allocations: 7.906 kB / 0.5619 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.1519, allocations: 0 / 0.5619 GB, free: 6.773 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.427e-05/0.152, allocations: 113.8 kB / 0.562 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.152, allocations: 3.938 kB / 0.562 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.1521, allocations: 48.75 kB / 0.5621 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1521, allocations: 4.062 kB / 0.5621 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1522, allocations: 4 kB / 0.5621 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1522, allocations: 0 / 0.5621 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.1523, allocations: 145.7 kB / 0.5622 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1523, allocations: 4 kB / 0.5622 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.1524, allocations: 3.984 kB / 0.5622 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.1524, allocations: 7.938 kB / 0.5622 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1524, allocations: 4 kB / 0.5622 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1524, allocations: 3.938 kB / 0.5622 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1524, allocations: 0 / 0.5622 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.648e-05/0.1525, allocations: 70 kB / 0.5623 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.1526, allocations: 81.09 kB / 0.5624 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.1526, allocations: 3.938 kB / 0.5624 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/0.1526, allocations: 3.984 kB / 0.5624 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.1526, allocations: 4 kB / 0.5624 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.1527, allocations: 0 / 0.5624 GB, free: 6.176 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.94e-05/0.1527, allocations: 79.31 kB / 0.5625 GB, free: 6.098 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1527, allocations: 0 / 0.5625 GB, free: 6.098 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.1529, allocations: 4 kB / 0.5625 GB, free: 6.094 MB / 430.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.0003754/0.1533, allocations: 0.6015 MB / 0.5631 GB, free: 5.457 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.94e-05/0.1534, allocations: 16.11 kB / 0.5631 GB, free: 5.441 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1534, allocations: 0 / 0.5631 GB, free: 5.441 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.1534, allocations: 7.938 kB / 0.5631 GB, free: 5.434 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.1536, allocations: 4 kB / 0.5631 GB, free: 5.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.1539, allocations: 121.2 kB / 0.5632 GB, free: 5.266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.1542, allocations: 0.6733 MB / 0.5639 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.174e-05/0.1542, allocations: 8 kB / 0.5639 GB, free: 4.559 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.1542, allocations: 7.438 kB / 0.5639 GB, free: 4.551 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1542, allocations: 0 / 0.5639 GB, free: 4.551 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1168/0.271, allocations: 0.7283 MB / 0.5646 GB, free: 3.953 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003044/0.2713, allocations: 191.8 kB / 0.5648 GB, free: 3.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/1.929, allocations: 0 / 0.5648 GB, free: 3.699 MB / 430.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)