Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",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.8496/0.8496, allocations: 143.3 MB / 158.3 MB, free: 5.797 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.001552/0.001552, allocations: 169.1 kB / 191.5 MB, free: 5.773 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.617/1.617, allocations: 223.2 MB / 447.7 MB, free: 6.551 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.001237/0.001237, allocations: 92.31 kB / 0.5187 GB, free: 2.906 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002174/0.002173, allocations: 276.9 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.000483, allocations: 19.98 kB / 0.6929 GB, free: 2.223 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.4779, allocations: 82.77 MB / 0.7738 GB, free: 26.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.6471, allocations: 107.8 MB / 0.8791 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.6475, allocations: 71.95 kB / 0.8791 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.001319/0.6488, allocations: 491.5 kB / 0.8796 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6488, allocations: 0 / 0.8796 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.6488, allocations: 0 / 0.8796 GB, free: 13.71 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003214/0.6492, allocations: 323.4 kB / 0.8799 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.6492, allocations: 12.03 kB / 0.8799 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.6493, allocations: 30.56 kB / 0.8799 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.6493, allocations: 3.906 kB / 0.8799 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.6496, allocations: 191 kB / 0.8801 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.6496, allocations: 3.953 kB / 0.8801 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.6496, allocations: 0 / 0.8801 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.488e-05/0.6497, allocations: 29.7 kB / 0.8802 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.6497, allocations: 0 / 0.8802 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.6497, allocations: 0 / 0.8802 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6497, allocations: 0 / 0.8802 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.6498, allocations: 7.984 kB / 0.8802 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.6499, allocations: 157.7 kB / 0.8803 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.213e-05/0.65, allocations: 26.47 kB / 0.8803 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.65, allocations: 0 / 0.8803 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.6501, allocations: 34.56 kB / 0.8804 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.6501, allocations: 0 / 0.8804 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001509/0.6502, allocations: 41.75 kB / 0.8804 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.6503, allocations: 51.41 kB / 0.8805 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.35e-05/0.6504, allocations: 105.1 kB / 0.8806 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.6504, allocations: 25.7 kB / 0.8806 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.6504, allocations: 80.14 kB / 0.8807 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.6505, allocations: 23.77 kB / 0.8807 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.6505, allocations: 0 / 0.8807 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6506, allocations: 318.8 kB / 0.881 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.6506, allocations: 4 kB / 0.881 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.6507, allocations: 21.66 kB / 0.881 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.163e-05/0.6507, allocations: 11.98 kB / 0.881 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.6507, allocations: 0 / 0.881 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.45e-05/0.6508, allocations: 45.62 kB / 0.8811 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.6508, allocations: 7.953 kB / 0.8811 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.6508, allocations: 0 / 0.8811 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.6508, allocations: 4 kB / 0.8811 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.334e-05/0.6509, allocations: 0 / 0.8811 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.6509, allocations: 4 kB / 0.8811 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.035e-05/0.6509, allocations: 4.125 kB / 0.8811 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.6509, allocations: 0 / 0.8811 GB, free: 11.95 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 9.077e-05/0.651, allocations: 118.4 kB / 0.8812 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-06/0.6511, allocations: 0 / 0.8812 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.6512, allocations: 52.77 kB / 0.8813 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6512, allocations: 3.938 kB / 0.8813 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6512, allocations: 0 / 0.8813 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6512, allocations: 0 / 0.8813 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.6513, allocations: 157.9 kB / 0.8814 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6513, allocations: 4 kB / 0.8814 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.6514, allocations: 7.984 kB / 0.8814 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.6514, allocations: 0 / 0.8814 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.6514, allocations: 0 / 0.8814 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.6514, allocations: 7.953 kB / 0.8814 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6515, allocations: 0 / 0.8814 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.6516, allocations: 73.12 kB / 0.8815 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.6516, allocations: 85.19 kB / 0.8816 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.6517, allocations: 0 / 0.8816 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.107e-05/0.6517, allocations: 4.031 kB / 0.8816 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.6517, allocations: 3.953 kB / 0.8816 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.6517, allocations: 0 / 0.8816 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.443e-05/0.6518, allocations: 95.2 kB / 0.8817 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.174e-06/0.6518, allocations: 0 / 0.8817 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001672/0.652, allocations: 7.938 kB / 0.8817 GB, free: 11.23 MB / 0.5417 GB 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 (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.0004012/0.6524, allocations: 0.6124 MB / 0.8823 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.447e-05/0.6524, allocations: 19.92 kB / 0.8823 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6525, allocations: 0 / 0.8823 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.278e-05/0.6525, allocations: 4 kB / 0.8823 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.6526, allocations: 6.812 kB / 0.8823 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/0.6532, allocations: 0.5255 MB / 0.8828 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.6535, allocations: 0.6849 MB / 0.8835 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.215e-05/0.6535, allocations: 7.938 kB / 0.8835 GB, free: 9.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.6536, allocations: 15.44 kB / 0.8835 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.6536, allocations: 0 / 0.8835 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01141/0.665, allocations: 0.9925 MB / 0.8845 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.6652, allocations: 180.2 kB / 0.8847 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.407, allocations: 3.5 kB / 0.8847 GB, free: 8.156 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)