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.8176/0.8176, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 178.5 kB / 187.3 MB, free: 11.88 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.642/1.642, allocations: 221.3 MB / 441.4 MB, free: 4.562 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.0009023/0.0009025, allocations: 101.4 kB / 0.5124 GB, free: 24.29 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001801/0.001801, allocations: 272 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.184e-05, allocations: 8 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5292/0.5293, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.536/5.065, allocations: 1.826 GB / 2.591 GB, free: 179.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/5.065, allocations: 95 kB / 2.591 GB, free: 179.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8905/5.956, allocations: 210.4 MB / 2.796 GB, free: 204.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/5.956, allocations: 0 / 2.796 GB, free: 204.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.933e-05/5.956, allocations: 13.28 kB / 2.796 GB, free: 204.7 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.0009994/5.957, allocations: 0.5586 MB / 2.797 GB, free: 204.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/5.957, allocations: 9.969 kB / 2.797 GB, free: 204.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.036e-05/5.957, allocations: 32.48 kB / 2.797 GB, free: 204.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/5.957, allocations: 282.7 kB / 2.797 GB, free: 204.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/5.957, allocations: 14.94 kB / 2.797 GB, free: 204.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/5.958, allocations: 21.36 kB / 2.797 GB, free: 204.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/5.958, allocations: 236.9 kB / 2.797 GB, free: 204 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/5.958, allocations: 0 / 2.797 GB, free: 204 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/5.958, allocations: 12.12 kB / 2.797 GB, free: 204 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/5.958, allocations: 5 kB / 2.797 GB, free: 204 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/5.958, allocations: 117.2 kB / 2.798 GB, free: 204 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/5.959, allocations: 1.362 MB / 2.799 GB, free: 202.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/5.959, allocations: 164.2 kB / 2.799 GB, free: 202.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.786e-05/5.959, allocations: 76.64 kB / 2.799 GB, free: 202.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/5.96, allocations: 116.6 kB / 2.799 GB, free: 202.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/5.96, allocations: 40.08 kB / 2.799 GB, free: 202.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/5.96, allocations: 0 / 2.799 GB, free: 202.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003391/5.96, allocations: 134.7 kB / 2.799 GB, free: 202.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/5.96, allocations: 186 kB / 2.8 GB, free: 202.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/5.96, allocations: 258.4 kB / 2.8 GB, free: 202.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/5.96, allocations: 29.45 kB / 2.8 GB, free: 202.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/5.961, allocations: 146.9 kB / 2.8 GB, free: 202.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/5.961, allocations: 41.81 kB / 2.8 GB, free: 202.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/5.961, allocations: 0 / 2.8 GB, free: 202.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.467e-05/5.961, allocations: 340.3 kB / 2.8 GB, free: 201.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-05/5.961, allocations: 31.66 kB / 2.8 GB, free: 201.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/5.961, allocations: 107 kB / 2.8 GB, free: 201.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.87e-05/5.961, allocations: 50.42 kB / 2.8 GB, free: 201.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/5.961, allocations: 0 / 2.8 GB, free: 201.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002072/5.961, allocations: 160.2 kB / 2.801 GB, free: 201.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/5.961, allocations: 7.062 kB / 2.801 GB, free: 201.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/5.961, allocations: 7.688 kB / 2.801 GB, free: 201.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/5.961, allocations: 0 / 2.801 GB, free: 201.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/5.961, allocations: 40.44 kB / 2.801 GB, free: 201.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/5.961, allocations: 3.406 kB / 2.801 GB, free: 201.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/5.962, allocations: 35.03 kB / 2.801 GB, free: 201.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/5.962, allocations: 14.48 kB / 2.801 GB, free: 201.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 () * 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 6.706e-05/5.962, allocations: 111.7 kB / 2.801 GB, free: 201.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/5.962, allocations: 29.91 kB / 2.801 GB, free: 201.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/5.962, allocations: 97.59 kB / 2.801 GB, free: 201.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/5.962, allocations: 0 / 2.801 GB, free: 201.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/5.962, allocations: 6.234 kB / 2.801 GB, free: 201.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/5.962, allocations: 2.531 kB / 2.801 GB, free: 201.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006514/5.963, allocations: 0.768 MB / 2.802 GB, free: 200.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/5.963, allocations: 0 / 2.802 GB, free: 200.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/5.963, allocations: 31.48 kB / 2.802 GB, free: 200.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/5.963, allocations: 3.188 kB / 2.802 GB, free: 200.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/5.963, allocations: 5.531 kB / 2.802 GB, free: 200.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/5.963, allocations: 5.969 kB / 2.802 GB, free: 200.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/5.963, allocations: 3.719 kB / 2.802 GB, free: 200.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/5.963, allocations: 343 kB / 2.802 GB, free: 200.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.914e-05/5.963, allocations: 110.4 kB / 2.802 GB, free: 200.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/5.963, allocations: 5.781 kB / 2.802 GB, free: 200.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/5.964, allocations: 22.84 kB / 2.802 GB, free: 200.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/5.964, allocations: 11.28 kB / 2.802 GB, free: 200.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/5.964, allocations: 7.219 kB / 2.802 GB, free: 200.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001654/5.964, allocations: 207.3 kB / 2.802 GB, free: 200.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/5.964, allocations: 0 / 2.802 GB, free: 200.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006798/5.964, allocations: 145.5 kB / 2.803 GB, free: 200.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 () * 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.00141/5.966, allocations: 0.9843 MB / 2.804 GB, free: 200.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001932/5.966, allocations: 88.88 kB / 2.804 GB, free: 200.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/5.966, allocations: 3.844 kB / 2.804 GB, free: 200.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.705e-05/5.966, allocations: 44.22 kB / 2.804 GB, free: 200.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/5.967, allocations: 128.2 kB / 2.804 GB, free: 200.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/5.967, allocations: 354.8 kB / 2.804 GB, free: 200 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/5.968, allocations: 0.7622 MB / 2.805 GB, free: 199.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001371/5.968, allocations: 45.08 kB / 2.805 GB, free: 199.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/5.968, allocations: 21.38 kB / 2.805 GB, free: 199.3 MB / 0.698 GB Notification: Performance of SimCode: time 3e-07/5.968, allocations: 0 / 2.805 GB, free: 199.3 MB / 0.698 GB Notification: Performance of Templates: time 0.02578/5.994, allocations: 18.88 MB / 2.823 GB, free: 198.6 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)