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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5127/0.5127, allocations: 90.8 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 221.3 MB / 348.3 MB, free: 444 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001144, allocations: 99.38 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.781e-05/4.785e-05, allocations: 4 kB / 0.4897 GB, free: 5.273 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5128/0.5128, allocations: 72.3 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1535/0.6664, allocations: 100.6 MB / 0.6585 GB, free: 3.734 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.6667, allocations: 71.95 kB / 0.6586 GB, free: 3.664 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0006675/0.6674, allocations: 410.5 kB / 0.659 GB, free: 3.258 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6674, allocations: 2.906 kB / 0.659 GB, free: 3.258 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.6674, allocations: 0 / 0.659 GB, free: 3.258 MB / 474.7 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.0002697/0.6677, allocations: 316.9 kB / 0.6593 GB, free: 2.91 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.6677, allocations: 11.98 kB / 0.6593 GB, free: 2.898 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.24e-05/0.6678, allocations: 30.56 kB / 0.6593 GB, free: 2.859 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.6678, allocations: 3.953 kB / 0.6593 GB, free: 2.855 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.6679, allocations: 163.1 kB / 0.6595 GB, free: 2.656 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.6679, allocations: 7.984 kB / 0.6595 GB, free: 2.648 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-06/0.668, allocations: 3.906 kB / 0.6595 GB, free: 2.648 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.6681, allocations: 39.42 kB / 0.6595 GB, free: 2.598 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.6681, allocations: 0 / 0.6595 GB, free: 2.598 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.6681, allocations: 3.938 kB / 0.6596 GB, free: 2.594 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.6681, allocations: 0 / 0.6596 GB, free: 2.594 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.734e-05/0.6682, allocations: 11.89 kB / 0.6596 GB, free: 2.582 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.6683, allocations: 158.5 kB / 0.6597 GB, free: 2.375 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.313e-05/0.6684, allocations: 41.16 kB / 0.6598 GB, free: 2.316 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.53e-05/0.6684, allocations: 13.84 kB / 0.6598 GB, free: 2.297 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.6685, allocations: 0 / 0.6598 GB, free: 2.297 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.6685, allocations: 30.56 kB / 0.6598 GB, free: 2.258 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.6685, allocations: 0 / 0.6598 GB, free: 2.258 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001365/0.6687, allocations: 53.53 kB / 0.6598 GB, free: 2.199 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.6687, allocations: 81.11 kB / 0.6599 GB, free: 2.102 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.625e-05/0.6688, allocations: 85 kB / 0.66 GB, free: 2.012 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.6688, allocations: 25.7 kB / 0.66 GB, free: 1.98 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.6688, allocations: 80.14 kB / 0.6601 GB, free: 1.898 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.288e-05/0.6689, allocations: 3.938 kB / 0.6601 GB, free: 1.895 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.6689, allocations: 0 / 0.6601 GB, free: 1.895 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.669, allocations: 318.9 kB / 0.6604 GB, free: 1.574 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.6691, allocations: 4 kB / 0.6604 GB, free: 1.57 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.6691, allocations: 13.72 kB / 0.6604 GB, free: 1.551 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.588e-05/0.6691, allocations: 4 kB / 0.6604 GB, free: 1.547 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.6691, allocations: 2.25 kB / 0.6604 GB, free: 1.547 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.594e-05/0.6692, allocations: 45.61 kB / 0.6605 GB, free: 1.496 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.6692, allocations: 8.125 kB / 0.6605 GB, free: 1.488 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6692, allocations: 4 kB / 0.6605 GB, free: 1.484 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.6692, allocations: 0 / 0.6605 GB, free: 1.484 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/0.6693, allocations: 4 kB / 0.6605 GB, free: 1.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.6693, allocations: 0 / 0.6605 GB, free: 1.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.6693, allocations: 3.906 kB / 0.6605 GB, free: 1.477 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.6694, allocations: 7.984 kB / 0.6605 GB, free: 1.469 MB / 474.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 6.603e-05/0.6694, allocations: 108.9 kB / 0.6606 GB, free: 1.355 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.6694, allocations: 0 / 0.6606 GB, free: 1.355 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.6696, allocations: 52.75 kB / 0.6607 GB, free: 1.297 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.6696, allocations: 4 kB / 0.6607 GB, free: 1.293 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6696, allocations: 0 / 0.6607 GB, free: 1.293 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.6696, allocations: 0 / 0.6607 GB, free: 1.293 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.6697, allocations: 145.6 kB / 0.6608 GB, free: 1.102 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.6697, allocations: 14.56 kB / 0.6608 GB, free: 1.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/0.6698, allocations: 3.984 kB / 0.6608 GB, free: 1.086 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.6698, allocations: 4 kB / 0.6608 GB, free: 1.082 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.6698, allocations: 0 / 0.6608 GB, free: 1.082 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6698, allocations: 4.062 kB / 0.6608 GB, free: 1.078 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6698, allocations: 0 / 0.6608 GB, free: 1.078 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.643e-05/0.6699, allocations: 83.66 kB / 0.6609 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.67, allocations: 77.11 kB / 0.661 GB, free: 0.875 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-06/0.67, allocations: 1.219 kB / 0.661 GB, free: 0.875 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.662e-05/0.67, allocations: 4 kB / 0.661 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.67, allocations: 8.031 kB / 0.661 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.67, allocations: 3.938 kB / 0.661 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.014e-05/0.6701, allocations: 75.28 kB / 0.6611 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6701, allocations: 0 / 0.6611 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001943/0.6703, allocations: 4 kB / 0.6611 GB, free: 0.7812 MB / 474.7 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 () * 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.0004393/0.6707, allocations: 0.6811 MB / 0.6617 GB, free: 68 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.595e-05/0.6708, allocations: 15.94 kB / 0.6618 GB, free: 52 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6708, allocations: 0 / 0.6618 GB, free: 52 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/0.6709, allocations: 7.984 kB / 0.6618 GB, free: 44 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.964e-05/0.671, allocations: 4 kB / 0.6618 GB, free: 40 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.6713, allocations: 94.72 kB / 0.6619 GB, free: 15.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.6716, allocations: 0.677 MB / 0.6625 GB, free: 15.21 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.143e-05/0.6716, allocations: 3.938 kB / 0.6625 GB, free: 15.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.6716, allocations: 11.44 kB / 0.6625 GB, free: 15.19 MB / 490.7 MB Notification: Performance of SimCode: time 5.1e-07/0.6716, allocations: 0 / 0.6625 GB, free: 15.19 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01438/0.686, allocations: 0.7256 MB / 0.6632 GB, free: 14.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.6863, allocations: 147 kB / 0.6634 GB, free: 14.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.285, allocations: 0 / 0.6634 GB, free: 14.38 MB / 490.7 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/linux/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)