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.001115/0.001115, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001164/0.001164, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.533/1.533, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.816/1.816, allocations: 292.3 MB / 0.5485 GB, free: 13.65 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.001232/0.001232, allocations: 75.39 kB / 0.671 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2656, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.7518/1.017, allocations: 159.2 MB / 0.9383 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006215/1.024, allocations: 4.516 MB / 0.9427 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008697/1.025, allocations: 9.125 kB / 0.9427 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006705/1.025, allocations: 101.4 kB / 0.9428 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001297/1.027, allocations: 315.9 kB / 0.9431 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/1.028, allocations: 249.5 kB / 0.9433 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009099/1.029, allocations: 0.5606 MB / 0.9439 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004316/1.029, allocations: 193.8 kB / 0.9441 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/1.031, allocations: 451.8 kB / 0.9445 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004198/1.031, allocations: 200 kB / 0.9447 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/1.031, allocations: 16.31 kB / 0.9447 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/1.031, allocations: 81.98 kB / 0.9448 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001823/1.032, allocations: 92.27 kB / 0.9449 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001863/1.032, allocations: 121.5 kB / 0.945 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006287/1.032, allocations: 294.6 kB / 0.9453 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/1.032, allocations: 1.203 kB / 0.9453 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.224e-06/1.032, allocations: 0 / 0.9453 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.436e-05/1.032, allocations: 0 / 0.9453 GB, free: 5.891 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.00136/1.034, allocations: 0.5365 MB / 0.9458 GB, free: 21.46 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/1.034, allocations: 10.5 kB / 0.9458 GB, free: 21.46 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.542e-05/1.034, allocations: 32.78 kB / 0.9458 GB, free: 21.44 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/1.034, allocations: 275.3 kB / 0.9461 GB, free: 21.22 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/1.035, allocations: 11.69 kB / 0.9461 GB, free: 21.22 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/1.035, allocations: 24.61 kB / 0.9461 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/1.035, allocations: 262.9 kB / 0.9464 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/1.035, allocations: 5.531 kB / 0.9464 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/1.035, allocations: 11.59 kB / 0.9464 GB, free: 21.09 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/1.035, allocations: 5.25 kB / 0.9464 GB, free: 21.09 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/1.036, allocations: 146.9 kB / 0.9465 GB, free: 21.09 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/1.037, allocations: 1.368 MB / 0.9479 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/1.037, allocations: 177.5 kB / 0.948 GB, free: 19.87 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/1.038, allocations: 95.47 kB / 0.9481 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004058/1.038, allocations: 126.5 kB / 0.9483 GB, free: 19.72 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/1.038, allocations: 38.16 kB / 0.9483 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/1.038, allocations: 0 / 0.9483 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006281/1.039, allocations: 216 kB / 0.9485 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/1.039, allocations: 187 kB / 0.9487 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/1.039, allocations: 290.5 kB / 0.9489 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/1.039, allocations: 25.7 kB / 0.949 GB, free: 19.27 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/1.039, allocations: 146.7 kB / 0.9491 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/1.039, allocations: 36.67 kB / 0.9491 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/1.039, allocations: 34.16 kB / 0.9492 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001861/1.04, allocations: 340.5 kB / 0.9495 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/1.04, allocations: 51.7 kB / 0.9496 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/1.04, allocations: 109.8 kB / 0.9497 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/1.04, allocations: 163.2 kB / 0.9498 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/1.04, allocations: 2.156 kB / 0.9498 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003732/1.041, allocations: 187.3 kB / 0.95 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.041, allocations: 10.66 kB / 0.95 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.041, allocations: 1.781 kB / 0.95 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/1.041, allocations: 13.23 kB / 0.95 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/1.041, allocations: 31.42 kB / 0.9501 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/1.041, allocations: 3.703 kB / 0.9501 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/1.041, allocations: 30.69 kB / 0.9501 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/1.041, allocations: 8.016 kB / 0.9501 GB, free: 18.61 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.0001321/1.041, allocations: 142.6 kB / 0.9502 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/1.041, allocations: 31.97 kB / 0.9503 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/1.042, allocations: 132.7 kB / 0.9504 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.042, allocations: 3.062 kB / 0.9504 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.042, allocations: 1.938 kB / 0.9504 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/1.042, allocations: 5.141 kB / 0.9504 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008287/1.042, allocations: 0.7802 MB / 0.9512 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.042, allocations: 2.844 kB / 0.9512 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/1.043, allocations: 23.17 kB / 0.9512 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/1.043, allocations: 0 / 0.9512 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/1.043, allocations: 6.891 kB / 0.9512 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/1.043, allocations: 1.719 kB / 0.9512 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/1.043, allocations: 7.062 kB / 0.9512 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005451/1.043, allocations: 338.7 kB / 0.9515 GB, free: 17.6 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/1.043, allocations: 112.3 kB / 0.9516 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/1.043, allocations: 7.25 kB / 0.9516 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/1.044, allocations: 7.766 kB / 0.9516 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/1.044, allocations: 18.75 kB / 0.9517 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/1.044, allocations: 4.531 kB / 0.9517 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002265/1.044, allocations: 208.7 kB / 0.9519 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.202e-06/1.044, allocations: 0 / 0.9519 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004039/1.044, allocations: 54.66 kB / 0.9519 GB, free: 17.4 MB / 0.7481 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 () * Number of clocked 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 (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.0003946/1.045, allocations: 147 kB / 0.9521 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004281/1.045, allocations: 119.6 kB / 0.9522 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.045, allocations: 448 / 0.9522 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/1.045, allocations: 62.98 kB / 0.9522 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007845/1.046, allocations: 125.8 kB / 0.9523 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009105/1.047, allocations: 0.543 MB / 0.9529 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/1.047, allocations: 0.7558 MB / 0.9536 GB, free: 16.23 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000195/1.048, allocations: 59.52 kB / 0.9537 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/1.048, allocations: 22.41 kB / 0.9537 GB, free: 16.21 MB / 0.7481 GB Notification: Performance of SimCode: time 3.6e-07/1.048, allocations: 0 / 0.9537 GB, free: 16.21 MB / 0.7481 GB Notification: Performance of Templates: time 0.01131/1.059, allocations: 4.142 MB / 0.9577 GB, free: 15.97 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)