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.8639/0.8639, allocations: 143.4 MB / 158.3 MB, free: 5.801 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.00112/0.00112, allocations: 184.7 kB / 191.5 MB, free: 5.758 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.468/1.468, allocations: 223.2 MB / 447.7 MB, free: 6.566 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.0009645/0.0009645, allocations: 88.27 kB / 0.5188 GB, free: 2.91 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001647/0.001647, allocations: 267 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.0004332, allocations: 12 kB / 0.6929 GB, free: 2.324 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.377, allocations: 82.79 MB / 0.7737 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.598/4.975, allocations: 1.826 GB / 2.6 GB, free: 157.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003521/4.976, allocations: 99.91 kB / 2.6 GB, free: 157.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8708/5.847, allocations: 210.6 MB / 2.806 GB, free: 207.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/5.847, allocations: 0 / 2.806 GB, free: 207.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.713e-05/5.847, allocations: 11.88 kB / 2.806 GB, free: 207.8 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.001105/5.848, allocations: 0.5953 MB / 2.807 GB, free: 207.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/5.848, allocations: 14.77 kB / 2.807 GB, free: 207.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.621e-05/5.848, allocations: 31.22 kB / 2.807 GB, free: 207.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/5.848, allocations: 277.3 kB / 2.807 GB, free: 207.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/5.848, allocations: 17.62 kB / 2.807 GB, free: 207.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/5.848, allocations: 14.66 kB / 2.807 GB, free: 207.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/5.849, allocations: 259.3 kB / 2.807 GB, free: 207 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/5.849, allocations: 0 / 2.807 GB, free: 207 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/5.849, allocations: 14.66 kB / 2.807 GB, free: 207 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/5.849, allocations: 5.281 kB / 2.807 GB, free: 207 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/5.849, allocations: 156.1 kB / 2.807 GB, free: 207 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/5.85, allocations: 1.36 MB / 2.809 GB, free: 205.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/5.851, allocations: 181.1 kB / 2.809 GB, free: 205.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/5.851, allocations: 109.6 kB / 2.809 GB, free: 205.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/5.851, allocations: 48.41 kB / 2.809 GB, free: 205.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/5.851, allocations: 0 / 2.809 GB, free: 205.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.000595/5.852, allocations: 219.3 kB / 2.809 GB, free: 205.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/5.852, allocations: 185.8 kB / 2.809 GB, free: 205.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/5.852, allocations: 255.4 kB / 2.81 GB, free: 205.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/5.852, allocations: 28.77 kB / 2.81 GB, free: 205.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/5.852, allocations: 155.8 kB / 2.81 GB, free: 205.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/5.852, allocations: 37.73 kB / 2.81 GB, free: 205.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/5.852, allocations: 0 / 2.81 GB, free: 205.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.007e-05/5.852, allocations: 340.4 kB / 2.81 GB, free: 204.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/5.852, allocations: 43.73 kB / 2.81 GB, free: 204.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/5.853, allocations: 135.4 kB / 2.81 GB, free: 204.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/5.853, allocations: 64.12 kB / 2.81 GB, free: 204.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/5.853, allocations: 2.906 kB / 2.81 GB, free: 204.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003302/5.853, allocations: 197.2 kB / 2.811 GB, free: 204.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/5.853, allocations: 3.875 kB / 2.811 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/5.853, allocations: 3.75 kB / 2.811 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/5.853, allocations: 7.734 kB / 2.811 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/5.853, allocations: 36.45 kB / 2.811 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/5.853, allocations: 3.984 kB / 2.811 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/5.854, allocations: 34.56 kB / 2.811 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/5.854, allocations: 11.44 kB / 2.811 GB, free: 204.7 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 () * Number of clocked 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 0.000131/5.854, allocations: 146.3 kB / 2.811 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/5.854, allocations: 25.69 kB / 2.811 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/5.854, allocations: 142.9 kB / 2.811 GB, free: 204.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/5.854, allocations: 0 / 2.811 GB, free: 204.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/5.854, allocations: 7.922 kB / 2.811 GB, free: 204.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/5.854, allocations: 3.844 kB / 2.811 GB, free: 204.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/5.855, allocations: 0.7515 MB / 2.812 GB, free: 203.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/5.855, allocations: 7.547 kB / 2.812 GB, free: 203.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/5.855, allocations: 32.48 kB / 2.812 GB, free: 203.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/5.855, allocations: 6.609 kB / 2.812 GB, free: 203.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/5.855, allocations: 7.281 kB / 2.812 GB, free: 203.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/5.855, allocations: 0 / 2.812 GB, free: 203.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/5.855, allocations: 3.719 kB / 2.812 GB, free: 203.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005045/5.856, allocations: 406.5 kB / 2.812 GB, free: 203.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/5.856, allocations: 109.9 kB / 2.812 GB, free: 203.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/5.856, allocations: 14.67 kB / 2.812 GB, free: 203.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/5.856, allocations: 13.53 kB / 2.812 GB, free: 203.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/5.856, allocations: 5.594 kB / 2.812 GB, free: 203.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/5.856, allocations: 9.844 kB / 2.812 GB, free: 203.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001751/5.856, allocations: 207.7 kB / 2.812 GB, free: 203.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/5.856, allocations: 0 / 2.812 GB, free: 203.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007397/5.857, allocations: 148.2 kB / 2.813 GB, free: 203.4 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 () * Number of clocked 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.001537/5.858, allocations: 0.9715 MB / 2.814 GB, free: 203.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003587/5.859, allocations: 134 kB / 2.814 GB, free: 203.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/5.859, allocations: 0 / 2.814 GB, free: 203.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/5.859, allocations: 61.31 kB / 2.814 GB, free: 203.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006363/5.86, allocations: 119.5 kB / 2.814 GB, free: 203.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008367/5.86, allocations: 0.5637 MB / 2.814 GB, free: 202.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/5.861, allocations: 0.758 MB / 2.815 GB, free: 202.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001523/5.861, allocations: 54.12 kB / 2.815 GB, free: 202.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/5.861, allocations: 22 kB / 2.815 GB, free: 202.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/5.861, allocations: 0 / 2.815 GB, free: 202.2 MB / 0.698 GB Notification: Performance of Templates: time 0.02444/5.885, allocations: 16.13 MB / 2.831 GB, free: 199.5 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)