Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.149/2.149, allocations: 391.2 MB / 407 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 191.4 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009861/0.0009861, allocations: 103.7 kB / 0.9329 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 52.47 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2666, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1399/0.4065, allocations: 159.1 MB / 1.373 GB, free: 5.621 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.005062/0.4117, allocations: 4.551 MB / 1.378 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004294/0.4121, allocations: 7.938 kB / 1.378 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004569/0.4126, allocations: 99.34 kB / 1.378 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0007942/0.4134, allocations: 310.7 kB / 1.378 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007875/0.4142, allocations: 251.3 kB / 1.379 GB, free: 412 kB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0007538/0.415, allocations: 0.8031 MB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002856/0.4153, allocations: 169.4 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008931/0.4162, allocations: 426.4 kB / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.4165, allocations: 211.1 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.4165, allocations: 12 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.4167, allocations: 63.95 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 9.853e-05/0.4168, allocations: 83.78 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.4169, allocations: 115.4 kB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.4173, allocations: 283.1 kB / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4173, allocations: 0 / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4173, allocations: 3.938 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5e-06/0.4173, allocations: 3.938 kB / 1.381 GB, free: 14.25 MB / 0.8855 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.0008462/0.4182, allocations: 0.5334 MB / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4182, allocations: 11.98 kB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.405e-05/0.4183, allocations: 35.56 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.4186, allocations: 269.5 kB / 1.381 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.4187, allocations: 12 kB / 1.381 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.4187, allocations: 19.91 kB / 1.381 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.4191, allocations: 265.9 kB / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.4192, allocations: 3.938 kB / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.4192, allocations: 11.94 kB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.4192, allocations: 4 kB / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.4195, allocations: 153.3 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.4208, allocations: 1.36 MB / 1.383 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.4211, allocations: 187.7 kB / 1.383 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.4212, allocations: 93.05 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003463/0.4216, allocations: 121 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.4216, allocations: 38.5 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 3.356e-06/0.4217, allocations: 0 / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0006162/0.4223, allocations: 217.2 kB / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/0.4224, allocations: 183.9 kB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.4226, allocations: 291 kB / 1.384 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.4227, allocations: 26.23 kB / 1.384 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.4228, allocations: 147.9 kB / 1.384 GB, free: 9.93 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.4228, allocations: 43.52 kB / 1.385 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/0.4229, allocations: 33.72 kB / 1.385 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.423, allocations: 334.8 kB / 1.385 GB, free: 9.512 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.4232, allocations: 51.89 kB / 1.385 GB, free: 9.461 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.4233, allocations: 115.7 kB / 1.385 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.4236, allocations: 162.9 kB / 1.385 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4236, allocations: 4 kB / 1.385 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003523/0.424, allocations: 189.3 kB / 1.385 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.424, allocations: 8.875 kB / 1.385 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.424, allocations: 7.938 kB / 1.385 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.424, allocations: 0 / 1.385 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.4242, allocations: 31.97 kB / 1.385 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4242, allocations: 7.984 kB / 1.385 GB, free: 8.887 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.4244, allocations: 27.73 kB / 1.385 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.4244, allocations: 15.94 kB / 1.385 GB, free: 8.844 MB / 0.8855 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.000122/0.4245, allocations: 141.9 kB / 1.386 GB, free: 8.695 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.4246, allocations: 27.66 kB / 1.386 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.425, allocations: 134.9 kB / 1.386 GB, free: 8.531 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.425, allocations: 0 / 1.386 GB, free: 8.531 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.425, allocations: 4 kB / 1.386 GB, free: 8.527 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.425, allocations: 0 / 1.386 GB, free: 8.527 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007594/0.4258, allocations: 0.7691 MB / 1.387 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.4258, allocations: 3.984 kB / 1.387 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.4259, allocations: 27.92 kB / 1.387 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.4259, allocations: 0 / 1.387 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.4259, allocations: 4 kB / 1.387 GB, free: 7.648 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4259, allocations: 288 / 1.387 GB, free: 7.648 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.426, allocations: 12 kB / 1.387 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004008/0.43, allocations: 1.871 MB / 1.388 GB, free: 5.609 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.4301, allocations: 112.8 kB / 1.389 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.4301, allocations: 11.92 kB / 1.389 GB, free: 5.469 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.4303, allocations: 4 kB / 1.389 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.4303, allocations: 11.98 kB / 1.389 GB, free: 5.453 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.4304, allocations: 8.094 kB / 1.389 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002016/0.4306, allocations: 209.9 kB / 1.389 GB, free: 5.242 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4306, allocations: 3.938 kB / 1.389 GB, free: 5.238 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004442/0.431, allocations: 76 kB / 1.389 GB, free: 5.164 MB / 0.8855 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.0003286/0.4314, allocations: 147.5 kB / 1.389 GB, free: 5.02 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.4317, allocations: 123.8 kB / 1.389 GB, free: 4.898 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4317, allocations: 0 / 1.389 GB, free: 4.898 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.4319, allocations: 55.91 kB / 1.389 GB, free: 4.844 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007334/0.4326, allocations: 134.4 kB / 1.389 GB, free: 4.715 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009422/0.4335, allocations: 0.6649 MB / 1.39 GB, free: 3.992 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.4339, allocations: 0.7638 MB / 1.391 GB, free: 3.203 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001385/0.434, allocations: 54.25 kB / 1.391 GB, free: 3.148 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.4341, allocations: 19.44 kB / 1.391 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of SimCode: time 9.518e-06/0.4341, allocations: 0 / 1.391 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of Templates: time 0.007492/0.4416, allocations: 4.137 MB / 1.395 GB, free: 15.05 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)