Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.597/1.597, allocations: 289.9 MB / 297.4 MB, free: 6.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001398, allocations: 184.8 kB / 366.7 MB, free: 1.621 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.2 MB / 0.626 GB, free: 7.109 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009663/0.0009662, allocations: 79.38 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.414e-05/2.418e-05, allocations: 8 kB / 0.8597 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7535/0.7536, allocations: 116.3 MB / 0.9733 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.675/5.429, allocations: 2.061 GB / 3.034 GB, free: 23.23 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/5.429, allocations: 85.8 kB / 3.034 GB, free: 23.19 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8816/6.311, allocations: 205.5 MB / 3.235 GB, free: 205.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.024e-06/6.311, allocations: 0 / 3.235 GB, free: 205.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.611e-05/6.311, allocations: 7.938 kB / 3.235 GB, free: 205.9 MB / 0.948 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.0009859/6.312, allocations: 0.5638 MB / 3.236 GB, free: 205.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/6.312, allocations: 8.031 kB / 3.236 GB, free: 205.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.288e-05/6.312, allocations: 27.72 kB / 3.236 GB, free: 205.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/6.312, allocations: 279.4 kB / 3.236 GB, free: 204.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/6.312, allocations: 11.95 kB / 3.236 GB, free: 204.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/6.312, allocations: 12 kB / 3.236 GB, free: 204.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000197/6.313, allocations: 91.97 kB / 3.236 GB, free: 204.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/6.313, allocations: 220 kB / 3.236 GB, free: 204.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/6.313, allocations: 0 / 3.236 GB, free: 204.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/6.313, allocations: 0 / 3.236 GB, free: 204.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/6.313, allocations: 4 kB / 3.236 GB, free: 204.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009081/6.314, allocations: 1.298 MB / 3.238 GB, free: 203.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/6.314, allocations: 151.8 kB / 3.238 GB, free: 202.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.105e-05/6.314, allocations: 73.14 kB / 3.238 GB, free: 202.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/6.314, allocations: 117.1 kB / 3.238 GB, free: 202.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/6.314, allocations: 50.5 kB / 3.238 GB, free: 202.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/6.314, allocations: 3.938 kB / 3.238 GB, free: 202.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0004089/6.315, allocations: 133.3 kB / 3.238 GB, free: 202.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/6.315, allocations: 183.9 kB / 3.238 GB, free: 202.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/6.315, allocations: 166.1 kB / 3.238 GB, free: 202.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/6.315, allocations: 29.64 kB / 3.238 GB, free: 202.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/6.315, allocations: 164.2 kB / 3.239 GB, free: 201.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/6.315, allocations: 39.44 kB / 3.239 GB, free: 201.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/6.315, allocations: 0 / 3.239 GB, free: 201.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.207e-05/6.315, allocations: 334.8 kB / 3.239 GB, free: 201.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.696e-05/6.315, allocations: 24 kB / 3.239 GB, free: 201.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/6.315, allocations: 105.4 kB / 3.239 GB, free: 201.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/6.315, allocations: 59.89 kB / 3.239 GB, free: 201.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/6.315, allocations: 0 / 3.239 GB, free: 201.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002522/6.316, allocations: 161.2 kB / 3.239 GB, free: 201.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/6.316, allocations: 8 kB / 3.239 GB, free: 201.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/6.316, allocations: 0 / 3.239 GB, free: 201.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/6.316, allocations: 4 kB / 3.239 GB, free: 201.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/6.316, allocations: 35.98 kB / 3.239 GB, free: 201.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/6.316, allocations: 3.938 kB / 3.239 GB, free: 201.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/6.316, allocations: 24.19 kB / 3.239 GB, free: 201.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/6.316, allocations: 8 kB / 3.239 GB, free: 201.1 MB / 0.948 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.087e-05/6.316, allocations: 112.9 kB / 3.239 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/6.316, allocations: 15.81 kB / 3.239 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/6.317, allocations: 123.3 kB / 3.24 GB, free: 200.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/6.317, allocations: 0 / 3.24 GB, free: 200.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/6.317, allocations: 4 kB / 3.24 GB, free: 200.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/6.317, allocations: 4 kB / 3.24 GB, free: 200.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005759/6.317, allocations: 0.7189 MB / 3.24 GB, free: 200 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/6.317, allocations: 4 kB / 3.24 GB, free: 200 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/6.317, allocations: 28.14 kB / 3.24 GB, free: 200 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/6.317, allocations: 0 / 3.24 GB, free: 200 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/6.317, allocations: 4 kB / 3.24 GB, free: 200 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/6.317, allocations: 3.938 kB / 3.24 GB, free: 200 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/6.317, allocations: 4 kB / 3.24 GB, free: 200 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/6.318, allocations: 356 kB / 3.241 GB, free: 199.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/6.318, allocations: 104.9 kB / 3.241 GB, free: 199.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/6.318, allocations: 4.156 kB / 3.241 GB, free: 199.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/6.318, allocations: 23.86 kB / 3.241 GB, free: 199.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/6.318, allocations: 11.95 kB / 3.241 GB, free: 199.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/6.318, allocations: 4 kB / 3.241 GB, free: 199.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.054e-05/6.318, allocations: 140.6 kB / 3.241 GB, free: 199.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.318, allocations: 0 / 3.241 GB, free: 199.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005369/6.319, allocations: 123.8 kB / 3.241 GB, free: 199.2 MB / 0.948 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.001288/6.32, allocations: 1.127 MB / 3.242 GB, free: 198.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001728/6.32, allocations: 75.92 kB / 3.242 GB, free: 198 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/6.32, allocations: 0 / 3.242 GB, free: 198 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.649e-05/6.32, allocations: 44.48 kB / 3.242 GB, free: 197.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/6.321, allocations: 56.75 kB / 3.242 GB, free: 197.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/6.321, allocations: 339.5 kB / 3.243 GB, free: 197.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/6.321, allocations: 0.7633 MB / 3.243 GB, free: 196.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001173/6.321, allocations: 42.06 kB / 3.243 GB, free: 196.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/6.321, allocations: 23.42 kB / 3.243 GB, free: 196.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.71e-07/6.321, allocations: 7.938 kB / 3.243 GB, free: 196.6 MB / 0.948 GB Notification: Performance of Templates: time 0.01197/6.333, allocations: 8.099 MB / 3.251 GB, free: 188.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)