Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5884/0.5884, allocations: 94.7 MB / 107.3 MB, free: 5.172 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001215/0.001215, allocations: 177.9 kB / 130.7 MB, free: 7.531 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.693/1.693, allocations: 170.5 MB / 324.5 MB, free: 3.984 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001678/0.001678, allocations: 106.3 kB / 386.6 MB, free: 16.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.25e-05/4.256e-05, allocations: 4 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5339/0.534, allocations: 61.52 MB / 0.5054 GB, free: 49.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8733/1.407, allocations: 362.8 MB / 0.8597 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/1.408, allocations: 84.05 kB / 0.8598 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6039/2.012, allocations: 83.99 MB / 0.9418 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.705e-06/2.012, allocations: 4 kB / 0.9418 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.591e-05/2.012, allocations: 6.406 kB / 0.9418 GB, free: 161.8 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001185/2.013, allocations: 0.567 MB / 0.9424 GB, free: 161.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.508e-05/2.013, allocations: 8.75 kB / 0.9424 GB, free: 161.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/2.013, allocations: 46.52 kB / 0.9424 GB, free: 161.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/2.014, allocations: 324 kB / 0.9427 GB, free: 161 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/2.014, allocations: 18.12 kB / 0.9427 GB, free: 161 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/2.014, allocations: 26.66 kB / 0.9428 GB, free: 161 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005627/2.015, allocations: 288.7 kB / 0.943 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/2.015, allocations: 0 / 0.943 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/2.015, allocations: 14.88 kB / 0.943 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/2.015, allocations: 5.812 kB / 0.9431 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/2.015, allocations: 158.9 kB / 0.9432 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/2.017, allocations: 1.31 MB / 0.9445 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/2.017, allocations: 107.2 kB / 0.9446 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.362e-05/2.017, allocations: 40.67 kB / 0.9446 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004151/2.018, allocations: 285.9 kB / 0.9449 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/2.018, allocations: 33.34 kB / 0.9449 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/2.018, allocations: 0 / 0.9449 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0003504/2.018, allocations: 144.7 kB / 0.9451 GB, free: 159 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/2.018, allocations: 105 kB / 0.9452 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/2.019, allocations: 293.5 kB / 0.9454 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/2.019, allocations: 26.73 kB / 0.9455 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/2.019, allocations: 193 kB / 0.9457 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/2.019, allocations: 52.08 kB / 0.9457 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.759e-06/2.019, allocations: 5.625 kB / 0.9457 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001106/2.019, allocations: 342.3 kB / 0.946 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/2.019, allocations: 40.25 kB / 0.9461 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/2.019, allocations: 147.3 kB / 0.9462 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/2.019, allocations: 64.72 kB / 0.9463 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/2.019, allocations: 0 / 0.9463 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003697/2.02, allocations: 225 kB / 0.9465 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/2.02, allocations: 6.781 kB / 0.9465 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/2.02, allocations: 2.875 kB / 0.9465 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/2.02, allocations: 8.859 kB / 0.9465 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/2.02, allocations: 71.17 kB / 0.9466 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/2.02, allocations: 5.031 kB / 0.9466 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/2.02, allocations: 46.39 kB / 0.9466 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/2.02, allocations: 8.656 kB / 0.9466 GB, free: 157.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001061/2.021, allocations: 127.3 kB / 0.9468 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/2.021, allocations: 31.03 kB / 0.9468 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/2.021, allocations: 156.6 kB / 0.9469 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/2.021, allocations: 3.938 kB / 0.9469 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/2.021, allocations: 11.89 kB / 0.947 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/2.021, allocations: 2.688 kB / 0.947 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/2.021, allocations: 300.3 kB / 0.9472 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/2.021, allocations: 3.938 kB / 0.9472 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/2.022, allocations: 50.08 kB / 0.9473 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/2.022, allocations: 0 / 0.9473 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/2.022, allocations: 3.938 kB / 0.9473 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/2.022, allocations: 0 / 0.9473 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/2.022, allocations: 0 / 0.9473 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/2.022, allocations: 295 kB / 0.9476 GB, free: 157 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/2.022, allocations: 100.5 kB / 0.9477 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/2.022, allocations: 11.92 kB / 0.9477 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/2.022, allocations: 19.64 kB / 0.9477 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/2.022, allocations: 11.8 kB / 0.9477 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/2.023, allocations: 11.66 kB / 0.9477 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002167/2.023, allocations: 235.7 kB / 0.9479 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/2.023, allocations: 0 / 0.9479 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004844/2.023, allocations: 101.8 kB / 0.948 GB, free: 156.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0006402/2.024, allocations: 260.5 kB / 0.9483 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002739/2.024, allocations: 122.6 kB / 0.9484 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/2.024, allocations: 0 / 0.9484 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.031e-05/2.024, allocations: 47.19 kB / 0.9485 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008605/2.025, allocations: 163.3 kB / 0.9486 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007021/2.026, allocations: 360.4 kB / 0.949 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/2.026, allocations: 0.7721 MB / 0.9497 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002273/2.026, allocations: 63.91 kB / 0.9498 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/2.026, allocations: 34.41 kB / 0.9498 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/2.026, allocations: 0 / 0.9498 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.01226/2.039, allocations: 6.943 MB / 0.9566 GB, free: 151.9 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)