Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9489/0.9489, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001622/0.001622, allocations: 179.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.459/1.459, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009921/0.0009922, allocations: 96.09 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001789/0.001789, allocations: 282.8 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.933e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4232, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.179/4.602, allocations: 1.827 GB / 2.584 GB, free: 233.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/4.603, allocations: 87.67 kB / 2.584 GB, free: 233.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4101/5.013, allocations: 221.7 MB / 2.801 GB, free: 7.379 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.763e-06/5.013, allocations: 0 / 2.801 GB, free: 7.379 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.507e-05/5.013, allocations: 16 kB / 2.801 GB, free: 7.363 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001002/5.014, allocations: 0.5993 MB / 2.801 GB, free: 6.719 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/5.014, allocations: 12.03 kB / 2.801 GB, free: 6.707 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006584/5.015, allocations: 79.55 kB / 2.801 GB, free: 6.629 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/5.015, allocations: 291.4 kB / 2.802 GB, free: 6.301 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/5.015, allocations: 8 kB / 2.802 GB, free: 6.293 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/5.015, allocations: 12 kB / 2.802 GB, free: 6.281 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002488/5.015, allocations: 159.9 kB / 2.802 GB, free: 6.125 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/5.016, allocations: 236.2 kB / 2.802 GB, free: 5.867 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/5.016, allocations: 0 / 2.802 GB, free: 5.867 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/5.016, allocations: 4 kB / 2.802 GB, free: 5.863 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/5.016, allocations: 4 kB / 2.802 GB, free: 5.859 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/5.017, allocations: 1.449 MB / 2.803 GB, free: 4.289 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/5.018, allocations: 137.1 kB / 2.803 GB, free: 4.109 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.577e-05/5.018, allocations: 64.41 kB / 2.804 GB, free: 4.031 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/5.018, allocations: 113.1 kB / 2.804 GB, free: 3.902 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/5.018, allocations: 50.45 kB / 2.804 GB, free: 3.844 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/5.018, allocations: 0 / 2.804 GB, free: 3.844 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003981/5.018, allocations: 137.5 kB / 2.804 GB, free: 3.703 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/5.018, allocations: 154.2 kB / 2.804 GB, free: 3.516 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/5.018, allocations: 211.8 kB / 2.804 GB, free: 3.301 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/5.018, allocations: 25.7 kB / 2.804 GB, free: 3.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/5.019, allocations: 167.9 kB / 2.804 GB, free: 3.102 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/5.019, allocations: 35.45 kB / 2.804 GB, free: 3.066 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/5.019, allocations: 0 / 2.804 GB, free: 3.066 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.799e-05/5.019, allocations: 326.8 kB / 2.805 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-05/5.019, allocations: 56 kB / 2.805 GB, free: 2.684 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/5.019, allocations: 127.7 kB / 2.805 GB, free: 2.523 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/5.019, allocations: 99.84 kB / 2.805 GB, free: 2.426 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/5.019, allocations: 0 / 2.805 GB, free: 2.426 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004194/5.02, allocations: 201.5 kB / 2.805 GB, free: 2.223 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/5.02, allocations: 16 kB / 2.805 GB, free: 2.207 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/5.02, allocations: 0 / 2.805 GB, free: 2.207 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/5.02, allocations: 7.953 kB / 2.805 GB, free: 2.199 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/5.02, allocations: 43.91 kB / 2.805 GB, free: 2.156 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/5.02, allocations: 7.938 kB / 2.805 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/5.02, allocations: 27.95 kB / 2.805 GB, free: 2.121 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/5.02, allocations: 19.98 kB / 2.805 GB, free: 2.102 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.678e-05/5.02, allocations: 108.9 kB / 2.805 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/5.02, allocations: 19.81 kB / 2.805 GB, free: 1.969 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/5.02, allocations: 107.5 kB / 2.805 GB, free: 1.855 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/5.021, allocations: 7.953 kB / 2.805 GB, free: 1.848 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/5.021, allocations: 0 / 2.805 GB, free: 1.848 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/5.021, allocations: 3.984 kB / 2.806 GB, free: 1.844 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007164/5.021, allocations: 0.8007 MB / 2.806 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/5.021, allocations: 0 / 2.806 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/5.021, allocations: 27.94 kB / 2.806 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/5.021, allocations: 4 kB / 2.806 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/5.021, allocations: 0 / 2.806 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/5.021, allocations: 8.156 kB / 2.806 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/5.021, allocations: 3.938 kB / 2.806 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/5.022, allocations: 348.1 kB / 2.807 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.379e-05/5.022, allocations: 112.9 kB / 2.807 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/5.022, allocations: 4 kB / 2.807 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/5.022, allocations: 15.94 kB / 2.807 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/5.022, allocations: 12.05 kB / 2.807 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/5.022, allocations: 8 kB / 2.807 GB, free: 376 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001219/5.022, allocations: 164.5 kB / 2.807 GB, free: 212 kB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/5.022, allocations: 0 / 2.807 GB, free: 212 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007305/5.023, allocations: 167.8 kB / 2.807 GB, free: 44 kB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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.3558/5.379, allocations: 1.157 MB / 2.808 GB, free: 197.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004495/5.379, allocations: 109.6 kB / 2.808 GB, free: 197.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/5.379, allocations: 2.234 kB / 2.808 GB, free: 197.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/5.38, allocations: 40.8 kB / 2.808 GB, free: 197.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006459/5.38, allocations: 62.2 kB / 2.808 GB, free: 197.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/5.381, allocations: 336.1 kB / 2.809 GB, free: 197.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/5.382, allocations: 0.7664 MB / 2.81 GB, free: 196.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00025/5.382, allocations: 49.61 kB / 2.81 GB, free: 196.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/5.382, allocations: 22.92 kB / 2.81 GB, free: 196.5 MB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/5.382, allocations: 0 / 2.81 GB, free: 196.5 MB / 0.698 GB Notification: Performance of Templates: time 0.01895/5.401, allocations: 9.238 MB / 2.819 GB, free: 196.3 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)