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.000925/0.0009251, allocations: 90.28 kB / 15.36 MB, free: 0.7383 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.009711/0.009711, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.721/1.721, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.806/1.806, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005793/0.0005795, allocations: 14.69 kB / 0.6743 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2873, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.8001/1.088, allocations: 157.1 MB / 0.9412 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004818/1.092, allocations: 4.488 MB / 0.9456 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003289/1.093, allocations: 8.625 kB / 0.9456 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005294/1.093, allocations: 97.69 kB / 0.9457 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001001/1.094, allocations: 315.4 kB / 0.946 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000813/1.095, allocations: 250.3 kB / 0.9463 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0011/1.096, allocations: 0.7952 MB / 0.947 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/1.097, allocations: 169.3 kB / 0.9472 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/1.098, allocations: 417.6 kB / 0.9476 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/1.098, allocations: 196.4 kB / 0.9478 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/1.098, allocations: 10.53 kB / 0.9478 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/1.098, allocations: 75.12 kB / 0.9479 GB, free: 500 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/1.099, allocations: 81.95 kB / 0.948 GB, free: 496 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002598/1.099, allocations: 135.5 kB / 0.9481 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004164/1.099, allocations: 279.6 kB / 0.9484 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.099, allocations: 2.531 kB / 0.9484 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.156e-06/1.099, allocations: 1.094 kB / 0.9484 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.892e-06/1.099, allocations: 0 / 0.9484 GB, free: 16.43 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.0008617/1.1, allocations: 0.4918 MB / 0.9488 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/1.1, allocations: 9.719 kB / 0.9488 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/1.1, allocations: 32.12 kB / 0.9489 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/1.101, allocations: 277.6 kB / 0.9491 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/1.101, allocations: 14.41 kB / 0.9492 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.266e-05/1.101, allocations: 20.75 kB / 0.9492 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004843/1.101, allocations: 263.9 kB / 0.9494 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.101, allocations: 4.625 kB / 0.9494 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/1.101, allocations: 13.97 kB / 0.9494 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/1.101, allocations: 4.562 kB / 0.9494 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/1.102, allocations: 155.2 kB / 0.9496 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/1.103, allocations: 1.385 MB / 0.9509 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/1.104, allocations: 182.6 kB / 0.9511 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/1.104, allocations: 102.8 kB / 0.9512 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004087/1.104, allocations: 129 kB / 0.9513 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/1.104, allocations: 45.22 kB / 0.9514 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/1.104, allocations: 0 / 0.9514 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.000822/1.105, allocations: 228 kB / 0.9516 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/1.105, allocations: 184.9 kB / 0.9518 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/1.106, allocations: 285.6 kB / 0.9521 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/1.106, allocations: 30.52 kB / 0.9521 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/1.106, allocations: 154.6 kB / 0.9522 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/1.106, allocations: 34.05 kB / 0.9523 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/1.106, allocations: 19.03 kB / 0.9523 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.106, allocations: 339.1 kB / 0.9526 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/1.106, allocations: 49.19 kB / 0.9526 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/1.107, allocations: 127.2 kB / 0.9528 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/1.107, allocations: 165.4 kB / 0.9529 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/1.107, allocations: 5.031 kB / 0.9529 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005109/1.107, allocations: 200.5 kB / 0.9531 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/1.108, allocations: 13.97 kB / 0.9531 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.108, allocations: 4.047 kB / 0.9531 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.108, allocations: 2.594 kB / 0.9531 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/1.108, allocations: 35.34 kB / 0.9532 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/1.108, allocations: 2.875 kB / 0.9532 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/1.108, allocations: 29.73 kB / 0.9532 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/1.108, allocations: 10.59 kB / 0.9532 GB, free: 13.07 MB / 0.7325 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.0001534/1.108, allocations: 150.9 kB / 0.9534 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/1.108, allocations: 28.09 kB / 0.9534 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003793/1.109, allocations: 135.8 kB / 0.9535 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/1.109, allocations: 7 kB / 0.9535 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.109, allocations: 4.25 kB / 0.9535 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/1.109, allocations: 1 kB / 0.9535 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009937/1.11, allocations: 0.7704 MB / 0.9543 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.11, allocations: 4.172 kB / 0.9543 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/1.11, allocations: 29.48 kB / 0.9543 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/1.11, allocations: 3.688 kB / 0.9543 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/1.11, allocations: 2.562 kB / 0.9543 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/1.11, allocations: 5.75 kB / 0.9543 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/1.11, allocations: 6.594 kB / 0.9543 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006573/1.111, allocations: 362 kB / 0.9547 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/1.111, allocations: 109 kB / 0.9548 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/1.111, allocations: 1.938 kB / 0.9548 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/1.111, allocations: 15.77 kB / 0.9548 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/1.111, allocations: 12.62 kB / 0.9548 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/1.111, allocations: 7.375 kB / 0.9548 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002623/1.111, allocations: 209.2 kB / 0.955 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.111, allocations: 0 / 0.955 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004187/1.112, allocations: 59.25 kB / 0.9551 GB, free: 11.83 MB / 0.7325 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.0004579/1.112, allocations: 146.1 kB / 0.9552 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004186/1.113, allocations: 136.6 kB / 0.9553 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.113, allocations: 0 / 0.9553 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/1.113, allocations: 65.11 kB / 0.9554 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008956/1.114, allocations: 126.3 kB / 0.9555 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/1.115, allocations: 0.5661 MB / 0.9561 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/1.115, allocations: 0.7535 MB / 0.9568 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001624/1.115, allocations: 50.27 kB / 0.9569 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/1.115, allocations: 22.22 kB / 0.9569 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/1.115, allocations: 0 / 0.9569 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of Templates: time 0.01061/1.126, allocations: 4.001 MB / 0.9608 GB, free: 10.37 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: