Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009554/0.0009556, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009874/0.0009874, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0005494/0.0005496, allocations: 17.97 kB / 0.6735 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2565, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5795/0.836, allocations: 140.3 MB / 0.9242 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006349/0.8424, allocations: 5.259 MB / 0.9293 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006821/0.8432, allocations: 13.75 kB / 0.9293 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008613/0.844, allocations: 188.6 kB / 0.9295 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002109/0.8462, allocations: 0.5681 MB / 0.93 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.8474, allocations: 354.3 kB / 0.9304 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006061/0.848, allocations: 427.8 kB / 0.9308 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004317/0.8484, allocations: 221.6 kB / 0.931 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.8495, allocations: 435.1 kB / 0.9314 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.8498, allocations: 191.2 kB / 0.9316 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.8499, allocations: 13.12 kB / 0.9316 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005518/0.8504, allocations: 208.7 kB / 0.9318 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.8506, allocations: 92.33 kB / 0.9319 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00035/0.8509, allocations: 81.17 kB / 0.932 GB, free: 22.05 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004742/0.8514, allocations: 314.1 kB / 0.9323 GB, free: 22.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8514, allocations: 0 / 0.9323 GB, free: 22.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8514, allocations: 2.906 kB / 0.9323 GB, free: 22.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.8514, allocations: 0 / 0.9323 GB, free: 22.02 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00084/0.8523, allocations: 0.5627 MB / 0.9328 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.8523, allocations: 12.62 kB / 0.9328 GB, free: 21.56 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003097/0.8527, allocations: 55.17 kB / 0.9329 GB, free: 21.55 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.8531, allocations: 299.5 kB / 0.9332 GB, free: 21.33 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.8531, allocations: 22.62 kB / 0.9332 GB, free: 21.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.8531, allocations: 24.31 kB / 0.9332 GB, free: 21.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.8537, allocations: 318 kB / 0.9335 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.8537, allocations: 0 / 0.9335 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.8537, allocations: 15.67 kB / 0.9335 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.8537, allocations: 8.594 kB / 0.9335 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/0.8541, allocations: 223 kB / 0.9338 GB, free: 21.21 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.8556, allocations: 1.533 MB / 0.9353 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.8559, allocations: 122.9 kB / 0.9354 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004409/0.8563, allocations: 137.7 kB / 0.9355 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.8564, allocations: 34.38 kB / 0.9355 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.8564, allocations: 4 kB / 0.9355 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007429/0.8571, allocations: 282.6 kB / 0.9358 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.8572, allocations: 59.09 kB / 0.9359 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.8575, allocations: 306.3 kB / 0.9362 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.8576, allocations: 29.52 kB / 0.9362 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.8577, allocations: 186.7 kB / 0.9364 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.8578, allocations: 43.17 kB / 0.9364 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.8578, allocations: 2.781 kB / 0.9364 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.8579, allocations: 339.8 kB / 0.9367 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.8581, allocations: 66.16 kB / 0.9368 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.8583, allocations: 119.6 kB / 0.9369 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.8585, allocations: 78.83 kB / 0.937 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8585, allocations: 0 / 0.937 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004772/0.859, allocations: 237.1 kB / 0.9372 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.859, allocations: 5.562 kB / 0.9372 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.859, allocations: 1.219 kB / 0.9372 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.859, allocations: 3.516 kB / 0.9372 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.8592, allocations: 36.66 kB / 0.9373 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.8592, allocations: 2.125 kB / 0.9373 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.8595, allocations: 40.98 kB / 0.9373 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.8595, allocations: 7.766 kB / 0.9373 GB, free: 19.08 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001652/0.8597, allocations: 150 kB / 0.9374 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.8597, allocations: 32.92 kB / 0.9375 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004645/0.8602, allocations: 218.4 kB / 0.9377 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.8602, allocations: 4.969 kB / 0.9377 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.8602, allocations: 0 / 0.9377 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.8602, allocations: 3.812 kB / 0.9377 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.8613, allocations: 0.696 MB / 0.9384 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.8613, allocations: 3.469 kB / 0.9384 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.8615, allocations: 30.95 kB / 0.9384 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.8615, allocations: 3.219 kB / 0.9384 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.8615, allocations: 5.594 kB / 0.9384 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.8615, allocations: 3.469 kB / 0.9384 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.8615, allocations: 2.531 kB / 0.9384 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/0.862, allocations: 435.1 kB / 0.9388 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.8621, allocations: 119.9 kB / 0.939 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.8622, allocations: 7.906 kB / 0.939 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.8623, allocations: 16.94 kB / 0.939 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.8624, allocations: 17.59 kB / 0.939 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.8624, allocations: 8.906 kB / 0.939 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002414/0.8627, allocations: 221.7 kB / 0.9392 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8627, allocations: 0 / 0.9392 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004761/0.8632, allocations: 77.55 kB / 0.9393 GB, free: 18 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 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.0003888/0.8635, allocations: 155.5 kB / 0.9394 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004607/0.864, allocations: 163.5 kB / 0.9396 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.864, allocations: 4.062 kB / 0.9396 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.8642, allocations: 91.61 kB / 0.9397 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008222/0.8651, allocations: 143.3 kB / 0.9398 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.8664, allocations: 0.6226 MB / 0.9404 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.8669, allocations: 0.7922 MB / 0.9412 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002872/0.8672, allocations: 67.58 kB / 0.9413 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.753e-05/0.8673, allocations: 23.97 kB / 0.9413 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.8673, allocations: 0 / 0.9413 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of Templates: time 0.0132/0.8805, allocations: 4.685 MB / 0.9459 GB, free: 16.49 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: