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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 113.3 kB / 16.37 MB, free: 6.312 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.001078/0.001078, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.299/1.299, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.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.727/1.727, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001439/0.001439, allocations: 71.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1969, allocations: 114.5 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.486/0.6829, allocations: 161.4 MB / 0.9424 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004914/0.6879, allocations: 4.532 MB / 0.9468 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002933/0.6882, allocations: 15.94 kB / 0.9468 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004114/0.6887, allocations: 127.1 kB / 0.9469 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000741/0.6894, allocations: 326.4 kB / 0.9472 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007295/0.6902, allocations: 291.1 kB / 0.9475 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005564/0.6907, allocations: 0.5574 MB / 0.9481 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003384/0.6911, allocations: 204.9 kB / 0.9483 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008644/0.6919, allocations: 454.3 kB / 0.9487 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.6923, allocations: 192.7 kB / 0.9489 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.6923, allocations: 16 kB / 0.9489 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.6925, allocations: 79.92 kB / 0.949 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.6926, allocations: 91.72 kB / 0.9491 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.6927, allocations: 119.4 kB / 0.9492 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.6931, allocations: 307 kB / 0.9495 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6931, allocations: 0 / 0.9495 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6931, allocations: 0 / 0.9495 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.6931, allocations: 0 / 0.9495 GB, free: 1.438 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000788/0.6939, allocations: 0.5284 MB / 0.95 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.694, allocations: 8.031 kB / 0.95 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.544e-05/0.694, allocations: 35.56 kB / 0.95 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.6944, allocations: 283.4 kB / 0.9503 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.6944, allocations: 15.94 kB / 0.9503 GB, free: 500 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.6945, allocations: 23.98 kB / 0.9503 GB, free: 476 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.6949, allocations: 267.1 kB / 0.9506 GB, free: 172 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.6949, allocations: 4 kB / 0.9506 GB, free: 168 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.695, allocations: 7.938 kB / 0.9506 GB, free: 160 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.695, allocations: 4 kB / 0.9506 GB, free: 156 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.6953, allocations: 159.8 kB / 0.9508 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.6966, allocations: 1.36 MB / 0.9521 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.6969, allocations: 179.7 kB / 0.9523 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.6971, allocations: 98.33 kB / 0.9523 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003494/0.6975, allocations: 117 kB / 0.9525 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.6975, allocations: 51.12 kB / 0.9525 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/0.6975, allocations: 0 / 0.9525 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006135/0.6982, allocations: 201.8 kB / 0.9527 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/0.6982, allocations: 187.9 kB / 0.9529 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.6985, allocations: 287 kB / 0.9532 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.6986, allocations: 33.62 kB / 0.9532 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.6987, allocations: 147.9 kB / 0.9533 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.6987, allocations: 39.53 kB / 0.9534 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.6988, allocations: 33.7 kB / 0.9534 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.6989, allocations: 334.8 kB / 0.9537 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.699, allocations: 51.66 kB / 0.9538 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.6992, allocations: 117.1 kB / 0.9539 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.6995, allocations: 158.7 kB / 0.954 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6995, allocations: 4 kB / 0.954 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003665/0.6999, allocations: 189.1 kB / 0.9542 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.6999, allocations: 8.719 kB / 0.9542 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.7, allocations: 4 kB / 0.9542 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.7, allocations: 4 kB / 0.9542 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.7001, allocations: 28.2 kB / 0.9543 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.7001, allocations: 7.938 kB / 0.9543 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.7003, allocations: 31.73 kB / 0.9543 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.7003, allocations: 8 kB / 0.9543 GB, free: 12.04 MB / 0.7481 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.7005, allocations: 145.8 kB / 0.9544 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.7006, allocations: 27.66 kB / 0.9545 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.7009, allocations: 134.9 kB / 0.9546 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.7009, allocations: 1.406 kB / 0.9546 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.7009, allocations: 7.984 kB / 0.9546 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.573e-05/0.701, allocations: 111.3 kB / 0.9547 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.7011, allocations: 4 kB / 0.9547 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.7014, allocations: 7.984 kB / 0.9547 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.7014, allocations: 11.98 kB / 0.9547 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005579/0.702, allocations: 0.6104 MB / 0.9553 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006617/0.7027, allocations: 0.7529 MB / 0.9561 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001549/0.7028, allocations: 56.03 kB / 0.9561 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001934/0.703, allocations: 219.8 kB / 0.9563 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of Backend: time 5.11e-07/0.703, allocations: 3.938 kB / 0.9563 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.7041, allocations: 195.3 kB / 0.9565 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of SimCode: time 0.001326/0.7055, allocations: 0.977 MB / 0.9575 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of Templates: time 0.00784/0.7133, allocations: 4.436 MB / 0.9618 GB, free: 4.391 MB / 0.7481 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)