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.001569/0.001569, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001733/0.001733, allocations: 193.8 kB / 16.13 MB, free: 6.652 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.562/1.562, allocations: 205.1 MB / 222 MB, free: 4.766 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.735/1.735, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.002538/0.002538, allocations: 63.67 kB / 0.6708 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2683, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.7882/1.057, allocations: 159.1 MB / 0.9381 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005238/1.062, allocations: 4.556 MB / 0.9425 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005496/1.062, allocations: 8.156 kB / 0.9425 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005521/1.063, allocations: 98.84 kB / 0.9426 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0009832/1.064, allocations: 316.4 kB / 0.9429 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008741/1.065, allocations: 239.5 kB / 0.9431 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008962/1.066, allocations: 0.7996 MB / 0.9439 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/1.066, allocations: 174.3 kB / 0.9441 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/1.067, allocations: 419.9 kB / 0.9445 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/1.068, allocations: 198.1 kB / 0.9447 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/1.068, allocations: 10.84 kB / 0.9447 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/1.068, allocations: 77.03 kB / 0.9448 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/1.068, allocations: 81.11 kB / 0.9448 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/1.068, allocations: 115.6 kB / 0.9449 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003793/1.069, allocations: 281.9 kB / 0.9452 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.069, allocations: 0 / 0.9452 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.81e-07/1.069, allocations: 0 / 0.9452 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.73e-06/1.069, allocations: 0 / 0.9452 GB, free: 5.609 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.001218/1.07, allocations: 0.5355 MB / 0.9457 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/1.07, allocations: 10.5 kB / 0.9457 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/1.07, allocations: 32.78 kB / 0.9458 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/1.07, allocations: 270.6 kB / 0.946 GB, free: 20.94 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/1.07, allocations: 16 kB / 0.946 GB, free: 20.94 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/1.07, allocations: 21.59 kB / 0.9461 GB, free: 20.94 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/1.071, allocations: 261.5 kB / 0.9463 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/1.071, allocations: 2.906 kB / 0.9463 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/1.071, allocations: 10.5 kB / 0.9463 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/1.071, allocations: 5.25 kB / 0.9463 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003293/1.071, allocations: 147.2 kB / 0.9465 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/1.073, allocations: 1.373 MB / 0.9478 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/1.073, allocations: 185.8 kB / 0.948 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/1.073, allocations: 91.83 kB / 0.9481 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004053/1.074, allocations: 124.3 kB / 0.9482 GB, free: 19.44 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/1.074, allocations: 38.86 kB / 0.9482 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/1.074, allocations: 0 / 0.9482 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006609/1.074, allocations: 214.7 kB / 0.9484 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/1.074, allocations: 183.7 kB / 0.9486 GB, free: 19.13 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/1.075, allocations: 292.9 kB / 0.9489 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/1.075, allocations: 28.17 kB / 0.9489 GB, free: 18.99 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/1.075, allocations: 145.3 kB / 0.9491 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/1.075, allocations: 39.73 kB / 0.9491 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-05/1.075, allocations: 40.59 kB / 0.9491 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.075, allocations: 336 kB / 0.9495 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/1.075, allocations: 49.05 kB / 0.9495 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/1.076, allocations: 115.4 kB / 0.9496 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/1.076, allocations: 163.7 kB / 0.9498 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.076, allocations: 2 kB / 0.9498 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004209/1.076, allocations: 184.2 kB / 0.95 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/1.076, allocations: 10.06 kB / 0.95 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.076, allocations: 4.047 kB / 0.95 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/1.076, allocations: 7.844 kB / 0.95 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/1.077, allocations: 28.72 kB / 0.95 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/1.077, allocations: 5.438 kB / 0.95 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/1.077, allocations: 30.52 kB / 0.95 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/1.077, allocations: 9.766 kB / 0.95 GB, free: 18.33 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.0001823/1.077, allocations: 145.2 kB / 0.9502 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/1.077, allocations: 29.06 kB / 0.9502 GB, free: 18.2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/1.078, allocations: 133.9 kB / 0.9503 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.078, allocations: 0 / 0.9503 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.078, allocations: 1.938 kB / 0.9503 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/1.078, allocations: 2.906 kB / 0.9503 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008302/1.078, allocations: 0.7722 MB / 0.9511 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.078, allocations: 1.406 kB / 0.9511 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/1.079, allocations: 26.22 kB / 0.9511 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/1.079, allocations: 3.75 kB / 0.9511 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/1.079, allocations: 7.766 kB / 0.9511 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/1.079, allocations: 3.391 kB / 0.9511 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.079, allocations: 3.781 kB / 0.9511 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/1.079, allocations: 336.8 kB / 0.9515 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/1.079, allocations: 111.7 kB / 0.9516 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/1.079, allocations: 6.234 kB / 0.9516 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/1.08, allocations: 9.047 kB / 0.9516 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/1.08, allocations: 18.39 kB / 0.9516 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/1.08, allocations: 4.406 kB / 0.9516 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002764/1.08, allocations: 210.5 kB / 0.9518 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.08, allocations: 0 / 0.9518 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004132/1.08, allocations: 57.61 kB / 0.9519 GB, free: 17.12 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.0003871/1.081, allocations: 147 kB / 0.952 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004037/1.081, allocations: 121.5 kB / 0.9521 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.081, allocations: 1.344 kB / 0.9521 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/1.081, allocations: 63.84 kB / 0.9522 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008838/1.082, allocations: 119 kB / 0.9523 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/1.083, allocations: 0.5387 MB / 0.9528 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/1.084, allocations: 0.7563 MB / 0.9536 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001879/1.084, allocations: 49.88 kB / 0.9536 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/1.084, allocations: 22.31 kB / 0.9536 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of SimCode: time 1.473e-06/1.084, allocations: 0 / 0.9536 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of Templates: time 0.01145/1.096, allocations: 4.021 MB / 0.9576 GB, free: 15.71 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)