Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.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: translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8334/0.8334, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001415/0.001415, allocations: 183.8 kB / 182.2 MB, free: 9.469 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.481/1.481, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.0009437/0.0009438, allocations: 92.09 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001805/0.001805, allocations: 290.6 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.044e-05/2.056e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4099, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.152/4.562, allocations: 1.826 GB / 2.583 GB, free: 234.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/4.562, allocations: 88.58 kB / 2.583 GB, free: 234.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3715/4.934, allocations: 207.6 MB / 2.786 GB, free: 22.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.294e-06/4.934, allocations: 0 / 2.786 GB, free: 22.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.077e-05/4.934, allocations: 11.94 kB / 2.786 GB, free: 22.55 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000763/4.934, allocations: 0.556 MB / 2.787 GB, free: 21.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/4.934, allocations: 12.03 kB / 2.787 GB, free: 21.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/4.935, allocations: 35.56 kB / 2.787 GB, free: 21.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/4.935, allocations: 283.5 kB / 2.787 GB, free: 21.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/4.935, allocations: 4 kB / 2.787 GB, free: 21.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/4.935, allocations: 12 kB / 2.787 GB, free: 21.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001831/4.935, allocations: 91.97 kB / 2.787 GB, free: 21.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/4.935, allocations: 222.5 kB / 2.787 GB, free: 21.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/4.935, allocations: 3.938 kB / 2.787 GB, free: 21.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/4.935, allocations: 0 / 2.787 GB, free: 21.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/4.935, allocations: 8 kB / 2.787 GB, free: 21.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000832/4.936, allocations: 1.294 MB / 2.788 GB, free: 19.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/4.936, allocations: 155.6 kB / 2.789 GB, free: 19.63 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.089e-05/4.937, allocations: 73.33 kB / 2.789 GB, free: 19.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/4.937, allocations: 113.1 kB / 2.789 GB, free: 19.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/4.937, allocations: 46.5 kB / 2.789 GB, free: 19.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/4.937, allocations: 0 / 2.789 GB, free: 19.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.000409/4.937, allocations: 133.3 kB / 2.789 GB, free: 19.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/4.937, allocations: 191.9 kB / 2.789 GB, free: 18.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/4.937, allocations: 162.1 kB / 2.789 GB, free: 18.83 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/4.937, allocations: 25.7 kB / 2.789 GB, free: 18.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/4.938, allocations: 168.2 kB / 2.789 GB, free: 18.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/4.938, allocations: 35.45 kB / 2.789 GB, free: 18.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/4.938, allocations: 0 / 2.789 GB, free: 18.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.425e-05/4.938, allocations: 326.8 kB / 2.79 GB, free: 18.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.377e-05/4.938, allocations: 31.92 kB / 2.79 GB, free: 18.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.023e-05/4.938, allocations: 101.4 kB / 2.79 GB, free: 18.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/4.938, allocations: 59.89 kB / 2.79 GB, free: 18.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/4.938, allocations: 0 / 2.79 GB, free: 18.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002532/4.938, allocations: 161.3 kB / 2.79 GB, free: 17.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/4.938, allocations: 4 kB / 2.79 GB, free: 17.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/4.938, allocations: 7.938 kB / 2.79 GB, free: 17.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/4.938, allocations: 0 / 2.79 GB, free: 17.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/4.938, allocations: 43.91 kB / 2.79 GB, free: 17.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/4.938, allocations: 7.953 kB / 2.79 GB, free: 17.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/4.939, allocations: 24.11 kB / 2.79 GB, free: 17.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/4.939, allocations: 8 kB / 2.79 GB, free: 17.79 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 5.613e-05/4.939, allocations: 109.7 kB / 2.79 GB, free: 17.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/4.939, allocations: 20 kB / 2.79 GB, free: 17.65 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/4.939, allocations: 115.2 kB / 2.79 GB, free: 17.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/4.939, allocations: 0 / 2.79 GB, free: 17.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/4.939, allocations: 4 kB / 2.79 GB, free: 17.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/4.939, allocations: 7.953 kB / 2.79 GB, free: 17.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005842/4.94, allocations: 0.7112 MB / 2.791 GB, free: 16.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/4.94, allocations: 0 / 2.791 GB, free: 16.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/4.94, allocations: 32.08 kB / 2.791 GB, free: 16.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/4.94, allocations: 4 kB / 2.791 GB, free: 16.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/4.94, allocations: 7.938 kB / 2.791 GB, free: 16.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/4.94, allocations: 7.938 kB / 2.791 GB, free: 16.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/4.94, allocations: 0 / 2.791 GB, free: 16.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/4.94, allocations: 352.4 kB / 2.792 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/4.94, allocations: 104.9 kB / 2.792 GB, free: 16.17 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/4.94, allocations: 4 kB / 2.792 GB, free: 16.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/4.94, allocations: 16.05 kB / 2.792 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/4.941, allocations: 19.88 kB / 2.792 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/4.941, allocations: 4 kB / 2.792 GB, free: 16.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.4e-05/4.941, allocations: 136.6 kB / 2.792 GB, free: 15.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/4.941, allocations: 0 / 2.792 GB, free: 15.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005507/4.941, allocations: 119.8 kB / 2.792 GB, free: 15.88 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001183/4.942, allocations: 1.128 MB / 2.793 GB, free: 14.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001762/4.943, allocations: 83.86 kB / 2.793 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/4.943, allocations: 0 / 2.793 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.92e-05/4.943, allocations: 43.86 kB / 2.793 GB, free: 14.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/4.943, allocations: 53.38 kB / 2.793 GB, free: 14.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/4.944, allocations: 342.7 kB / 2.794 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/4.944, allocations: 0.7633 MB / 2.794 GB, free: 13.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001058/4.944, allocations: 42.08 kB / 2.794 GB, free: 13.37 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/4.944, allocations: 19.44 kB / 2.794 GB, free: 13.35 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/4.944, allocations: 3.938 kB / 2.794 GB, free: 13.34 MB / 0.698 GB Notification: Performance of Templates: time 0.01207/4.956, allocations: 8.131 MB / 2.802 GB, free: 5.246 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)