Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9085/0.9085, allocations: 143.3 MB / 158.3 MB, free: 5.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 177.1 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.704/1.704, allocations: 223.2 MB / 447.7 MB, free: 4.742 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001142, allocations: 92.3 kB / 0.5187 GB, free: 1.109 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00187/0.001871, allocations: 270.8 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004584, allocations: 17.12 kB / 0.6929 GB, free: 59.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1967, allocations: 82.79 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.3591, allocations: 107.8 MB / 0.879 GB, free: 1.859 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.3595, allocations: 67.95 kB / 0.8791 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0007407/0.3602, allocations: 415.6 kB / 0.8795 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.016e-06/0.3602, allocations: 0 / 0.8795 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3602, allocations: 0 / 0.8795 GB, free: 1.383 MB / 0.5417 GB 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.0002678/0.3605, allocations: 317.9 kB / 0.8798 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.3606, allocations: 8.031 kB / 0.8798 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.98e-05/0.3606, allocations: 38.56 kB / 0.8798 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.3607, allocations: 4 kB / 0.8798 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.3608, allocations: 159.1 kB / 0.88 GB, free: 0.7734 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3608, allocations: 3.953 kB / 0.88 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.3608, allocations: 0 / 0.88 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.3609, allocations: 47.34 kB / 0.88 GB, free: 0.7109 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3609, allocations: 0 / 0.88 GB, free: 0.7109 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.361, allocations: 0 / 0.88 GB, free: 0.7109 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.361, allocations: 7.938 kB / 0.88 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.515e-05/0.361, allocations: 4 kB / 0.88 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.3612, allocations: 158.6 kB / 0.8802 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.691e-05/0.3612, allocations: 41.05 kB / 0.8802 GB, free: 444 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3613, allocations: 4.125 kB / 0.8802 GB, free: 440 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.3613, allocations: 34.56 kB / 0.8803 GB, free: 396 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3613, allocations: 0 / 0.8803 GB, free: 396 kB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001617/0.3615, allocations: 45.62 kB / 0.8803 GB, free: 344 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.3615, allocations: 81.11 kB / 0.8804 GB, free: 244 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.414e-05/0.3616, allocations: 85 kB / 0.8805 GB, free: 152 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3616, allocations: 29.64 kB / 0.8805 GB, free: 116 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.3617, allocations: 80.14 kB / 0.8806 GB, free: 32 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.3617, allocations: 8.156 kB / 0.8806 GB, free: 24 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.3617, allocations: 3.938 kB / 0.8806 GB, free: 20 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.4364/0.7981, allocations: 310.8 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-05/0.7982, allocations: 1.625 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.494e-05/0.7982, allocations: 12.66 kB / 0.8809 GB, free: 109 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.117e-05/0.7983, allocations: 4.453 kB / 0.8809 GB, free: 109 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.7983, allocations: 0.5312 kB / 0.8809 GB, free: 109 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001081/0.7984, allocations: 44.27 kB / 0.8809 GB, free: 109 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.7984, allocations: 7.266 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.7984, allocations: 0.9062 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.7985, allocations: 1.891 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.223e-05/0.7985, allocations: 7.906 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.7986, allocations: 0 / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.127e-05/0.7986, allocations: 1.75 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.7986, allocations: 2.016 kB / 0.881 GB, free: 109 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.903e-05/0.7987, allocations: 114.8 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.7987, allocations: 9.125 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.7988, allocations: 47.3 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.7988, allocations: 0.8125 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.7988, allocations: 0.9062 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.7989, allocations: 3.031 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.121e-05/0.799, allocations: 150.4 kB / 0.8813 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.799, allocations: 4.812 kB / 0.8813 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.347e-05/0.799, allocations: 4.188 kB / 0.8813 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.799, allocations: 1.188 kB / 0.8813 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.799, allocations: 5.781 kB / 0.8813 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.799, allocations: 3.906 kB / 0.8813 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.799, allocations: 0.8125 kB / 0.8813 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.836e-05/0.7991, allocations: 74.94 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.7992, allocations: 85.44 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.7992, allocations: 5.953 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.875e-05/0.7992, allocations: 4.484 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.7992, allocations: 5.141 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.7992, allocations: 2.031 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.736e-05/0.7993, allocations: 79.97 kB / 0.8815 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7993, allocations: 0 / 0.8815 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002474/0.7995, allocations: 2.578 kB / 0.8815 GB, free: 108.4 MB / 0.5417 GB 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 (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.0003082/0.7998, allocations: 0.6883 MB / 0.8822 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.424e-05/0.7999, allocations: 15.23 kB / 0.8822 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.7999, allocations: 0 / 0.8822 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.221e-05/0.7999, allocations: 8.703 kB / 0.8822 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.8, allocations: 2.344 kB / 0.8822 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.8004, allocations: 112.5 kB / 0.8824 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.8005, allocations: 0.675 MB / 0.883 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.237e-05/0.8005, allocations: 3.984 kB / 0.883 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/0.8006, allocations: 7.438 kB / 0.883 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of SimCode: time 4.91e-07/0.8006, allocations: 0 / 0.883 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01057/0.8111, allocations: 0.758 MB / 0.8838 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/0.8114, allocations: 189.5 kB / 0.8839 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.398, allocations: 0 / 0.8839 GB, free: 106.5 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)