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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 195.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.1 MB / 222 MB, free: 5.004 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5593/0.5593, allocations: 95.48 MB / 364.8 MB, free: 10.11 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 71.81 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3486, allocations: 69.07 MB / 0.5017 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4877/0.8363, allocations: 140.4 MB / 0.6388 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003691/0.8401, allocations: 2.694 MB / 0.6414 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003784/0.8405, allocations: 12.22 kB / 0.6414 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005328/0.8411, allocations: 128.9 kB / 0.6415 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004978/0.8416, allocations: 255.6 kB / 0.6418 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009778/0.8426, allocations: 394.2 kB / 0.6422 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.8437, allocations: 1.08 MB / 0.6432 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/0.844, allocations: 198.5 kB / 0.6434 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005297/0.8445, allocations: 303.7 kB / 0.6437 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003359/0.8449, allocations: 265.8 kB / 0.644 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.8449, allocations: 14.81 kB / 0.644 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.8453, allocations: 162.5 kB / 0.6441 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.782e-05/0.8454, allocations: 77.92 kB / 0.6442 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.8456, allocations: 170.2 kB / 0.6444 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004774/0.8461, allocations: 450.9 kB / 0.6448 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.8461, allocations: 0 / 0.6448 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.8461, allocations: 2.094 kB / 0.6448 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.8461, allocations: 2.906 kB / 0.6448 GB, free: 0.6094 MB / 494.1 MB 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.001067/0.8472, allocations: 0.625 MB / 0.6454 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.8473, allocations: 12.73 kB / 0.6454 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002819/0.8476, allocations: 50.3 kB / 0.6455 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004195/0.848, allocations: 318.2 kB / 0.6458 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.848, allocations: 16.81 kB / 0.6458 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.8481, allocations: 22.22 kB / 0.6458 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.8486, allocations: 304.2 kB / 0.6461 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.8487, allocations: 4 kB / 0.6461 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.8487, allocations: 14.47 kB / 0.6461 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.8487, allocations: 9.641 kB / 0.6461 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004949/0.8492, allocations: 201.2 kB / 0.6463 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.8511, allocations: 1.328 MB / 0.6476 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.8514, allocations: 122.2 kB / 0.6477 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.8515, allocations: 65.27 kB / 0.6478 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004653/0.852, allocations: 281.7 kB / 0.6481 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.852, allocations: 33.94 kB / 0.6481 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.852, allocations: 0 / 0.6481 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0005034/0.8526, allocations: 220.9 kB / 0.6483 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.8526, allocations: 102.8 kB / 0.6484 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.8529, allocations: 340.1 kB / 0.6487 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.853, allocations: 27.98 kB / 0.6488 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.8531, allocations: 196.1 kB / 0.6489 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.8531, allocations: 49.03 kB / 0.649 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.917e-05/0.8532, allocations: 48.16 kB / 0.649 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.8533, allocations: 343.9 kB / 0.6494 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.8535, allocations: 54.8 kB / 0.6494 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.8537, allocations: 169.6 kB / 0.6496 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.8541, allocations: 229.9 kB / 0.6498 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8541, allocations: 5.188 kB / 0.6498 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004847/0.8546, allocations: 252.1 kB / 0.65 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.8546, allocations: 6 kB / 0.65 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.8546, allocations: 4 kB / 0.65 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.8546, allocations: 9.719 kB / 0.6501 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.855, allocations: 67.72 kB / 0.6501 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.855, allocations: 10.98 kB / 0.6501 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.8552, allocations: 38.81 kB / 0.6502 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.8553, allocations: 19.06 kB / 0.6502 GB, free: 13.41 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.8554, allocations: 155.7 kB / 0.6503 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.8555, allocations: 33.16 kB / 0.6504 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005045/0.856, allocations: 182.3 kB / 0.6505 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.856, allocations: 1.219 kB / 0.6505 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.856, allocations: 0.5312 kB / 0.6505 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.856, allocations: 1.594 kB / 0.6505 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.8565, allocations: 310.4 kB / 0.6508 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.8565, allocations: 0 / 0.6508 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.8568, allocations: 54.58 kB / 0.6509 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.8568, allocations: 1.094 kB / 0.6509 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.8568, allocations: 4.969 kB / 0.6509 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.8568, allocations: 1 kB / 0.6509 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8568, allocations: 0 / 0.6509 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006577/0.8575, allocations: 339.5 kB / 0.6512 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.28e-05/0.8576, allocations: 104.8 kB / 0.6513 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.8576, allocations: 5.797 kB / 0.6513 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.8579, allocations: 17.12 kB / 0.6513 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.8579, allocations: 10.86 kB / 0.6514 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.858, allocations: 14.58 kB / 0.6514 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002051/0.8582, allocations: 240.7 kB / 0.6516 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8582, allocations: 0 / 0.6516 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003966/0.8586, allocations: 79.34 kB / 0.6517 GB, free: 12.67 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003888/0.859, allocations: 173.6 kB / 0.6518 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003675/0.8594, allocations: 156.5 kB / 0.652 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.8594, allocations: 0 / 0.652 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.8595, allocations: 65.88 kB / 0.6521 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008761/0.8604, allocations: 185.2 kB / 0.6522 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000846/0.8613, allocations: 0.6174 MB / 0.6528 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.8616, allocations: 0.7652 MB / 0.6536 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002271/0.8618, allocations: 67.83 kB / 0.6536 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.8619, allocations: 35.06 kB / 0.6537 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.8619, allocations: 0 / 0.6537 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of Templates: time 0.009189/0.8711, allocations: 5.646 MB / 0.6592 GB, free: 11.08 MB / 0.4981 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)