Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001001/0.001001, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001022/0.001022, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6494/0.6494, allocations: 95.58 MB / 366 MB, free: 10.41 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005793/0.0005794, allocations: 12 kB / 446.8 MB, free: 9.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3005, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1285/0.4291, allocations: 120.8 MB / 0.6229 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003676/0.4328, allocations: 2.346 MB / 0.6252 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000376/0.4332, allocations: 7.938 kB / 0.6252 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006591/0.4339, allocations: 135.3 kB / 0.6254 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000636/0.4345, allocations: 207.4 kB / 0.6256 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.4356, allocations: 346.4 kB / 0.6259 GB, free: 4.387 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008291/0.4364, allocations: 448.1 kB / 0.6263 GB, free: 3.945 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004858/0.4369, allocations: 186.8 kB / 0.6265 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006911/0.4376, allocations: 263.2 kB / 0.6268 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003679/0.438, allocations: 187.2 kB / 0.6269 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.377e-05/0.4381, allocations: 12 kB / 0.6269 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/0.4385, allocations: 107.9 kB / 0.627 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.4387, allocations: 71.73 kB / 0.6271 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.4388, allocations: 81.58 kB / 0.6272 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.4393, allocations: 339.1 kB / 0.6275 GB, free: 2.719 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4393, allocations: 3.938 kB / 0.6275 GB, free: 2.715 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4393, allocations: 0 / 0.6275 GB, free: 2.715 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.4393, allocations: 0 / 0.6275 GB, free: 2.715 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009993/0.4403, allocations: 0.565 MB / 0.6281 GB, free: 2.102 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4404, allocations: 15.98 kB / 0.6281 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002478/0.4406, allocations: 43.52 kB / 0.6281 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.4411, allocations: 301.5 kB / 0.6284 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.4411, allocations: 16.56 kB / 0.6284 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.4411, allocations: 28 kB / 0.6285 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.4417, allocations: 314.7 kB / 0.6288 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.4417, allocations: 3.984 kB / 0.6288 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.4418, allocations: 12 kB / 0.6288 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.4418, allocations: 4 kB / 0.6288 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.4422, allocations: 221.4 kB / 0.629 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2276/0.6698, allocations: 1.308 MB / 0.6303 GB, free: 125.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.6702, allocations: 132.1 kB / 0.6304 GB, free: 125.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004623/0.6707, allocations: 293.3 kB / 0.6307 GB, free: 125.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.6707, allocations: 39.25 kB / 0.6307 GB, free: 125.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.6707, allocations: 0 / 0.6307 GB, free: 125.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006033/0.6713, allocations: 229.2 kB / 0.6309 GB, free: 125.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.6714, allocations: 108.8 kB / 0.631 GB, free: 125.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.6718, allocations: 339.6 kB / 0.6314 GB, free: 125.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.6718, allocations: 28.3 kB / 0.6314 GB, free: 125.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.6719, allocations: 193 kB / 0.6316 GB, free: 125.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.672, allocations: 49.06 kB / 0.6316 GB, free: 125.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.672, allocations: 3.844 kB / 0.6316 GB, free: 125.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.6721, allocations: 341.9 kB / 0.6319 GB, free: 124.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.6722, allocations: 62.53 kB / 0.632 GB, free: 124.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.6724, allocations: 171.7 kB / 0.6322 GB, free: 124.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.6726, allocations: 85.75 kB / 0.6323 GB, free: 124.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6726, allocations: 1.438 kB / 0.6323 GB, free: 124.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004623/0.6731, allocations: 263.2 kB / 0.6325 GB, free: 124.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.6731, allocations: 9.844 kB / 0.6325 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6732, allocations: 3.594 kB / 0.6325 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.6732, allocations: 5.031 kB / 0.6325 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.6736, allocations: 80.22 kB / 0.6326 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.6736, allocations: 4.531 kB / 0.6326 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.6738, allocations: 39.42 kB / 0.6326 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.6738, allocations: 10.88 kB / 0.6327 GB, free: 124.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.674, allocations: 152.6 kB / 0.6328 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.674, allocations: 35.84 kB / 0.6328 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004251/0.6745, allocations: 198.8 kB / 0.633 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.6745, allocations: 8.5 kB / 0.633 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6745, allocations: 0 / 0.633 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.6745, allocations: 1.031 kB / 0.633 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.6749, allocations: 311 kB / 0.6333 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6749, allocations: 0.5156 kB / 0.6333 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.6752, allocations: 51.86 kB / 0.6334 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.6752, allocations: 4.797 kB / 0.6334 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.6752, allocations: 9.984 kB / 0.6334 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.6752, allocations: 4.969 kB / 0.6334 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6752, allocations: 4.547 kB / 0.6334 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005375/0.6758, allocations: 346.5 kB / 0.6337 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.6759, allocations: 110.4 kB / 0.6338 GB, free: 123.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.6759, allocations: 3.031 kB / 0.6338 GB, free: 123.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.6761, allocations: 21.53 kB / 0.6339 GB, free: 123.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.6762, allocations: 11.42 kB / 0.6339 GB, free: 123.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.6762, allocations: 15.16 kB / 0.6339 GB, free: 123.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002378/0.6764, allocations: 239.1 kB / 0.6341 GB, free: 123.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6765, allocations: 0 / 0.6341 GB, free: 123.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004209/0.6769, allocations: 86.05 kB / 0.6342 GB, free: 123.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000375/0.6773, allocations: 157.5 kB / 0.6343 GB, free: 123.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00043/0.6777, allocations: 163.7 kB / 0.6345 GB, free: 123.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6777, allocations: 0.75 kB / 0.6345 GB, free: 123.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.6779, allocations: 70.5 kB / 0.6346 GB, free: 123.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008677/0.6788, allocations: 165 kB / 0.6347 GB, free: 123.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008847/0.6797, allocations: 0.6433 MB / 0.6354 GB, free: 123.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.6799, allocations: 0.7745 MB / 0.6361 GB, free: 122.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002676/0.6802, allocations: 65.2 kB / 0.6362 GB, free: 122.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/0.6802, allocations: 32.67 kB / 0.6362 GB, free: 122.4 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6803, allocations: 0.75 kB / 0.6362 GB, free: 122.4 MB / 494.1 MB Notification: Performance of Templates: time 0.01299/0.6933, allocations: 5.432 MB / 0.6415 GB, free: 120.3 MB / 494.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) Environment - environmentSimulation: