Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001355/0.001355, allocations: 110.6 kB / 16.37 MB, free: 6 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.001472/0.001472, allocations: 197.6 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002212/0.002212, allocations: 285.6 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9169/0.9169, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 95.34 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.157, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4335/0.5906, allocations: 161.4 MB / 0.8392 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004712/0.5953, allocations: 4.547 MB / 0.8436 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.5955, allocations: 11.94 kB / 0.8436 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.5959, allocations: 123.1 kB / 0.8437 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006819/0.5967, allocations: 334.4 kB / 0.8441 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006742/0.5974, allocations: 279.4 kB / 0.8443 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006394/0.598, allocations: 0.5573 MB / 0.8449 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.5983, allocations: 205.2 kB / 0.8451 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007966/0.5991, allocations: 450.3 kB / 0.8455 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.5994, allocations: 199.1 kB / 0.8457 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.5995, allocations: 20 kB / 0.8457 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.5996, allocations: 83.92 kB / 0.8458 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.499e-05/0.5997, allocations: 83.78 kB / 0.8459 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.5999, allocations: 119.4 kB / 0.846 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.6002, allocations: 309.8 kB / 0.8463 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.6002, allocations: 0 / 0.8463 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6002, allocations: 0 / 0.8463 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.6002, allocations: 0 / 0.8463 GB, free: 5.891 MB / 0.6075 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.0007052/0.6009, allocations: 0.5301 MB / 0.8468 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.601, allocations: 12.03 kB / 0.8468 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.6011, allocations: 31.64 kB / 0.8468 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.6015, allocations: 287.3 kB / 0.8471 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.6015, allocations: 19.98 kB / 0.8471 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.6016, allocations: 20 kB / 0.8471 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.602, allocations: 262.3 kB / 0.8474 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.602, allocations: 4 kB / 0.8474 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.602, allocations: 15.94 kB / 0.8474 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.602, allocations: 4 kB / 0.8474 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.6023, allocations: 143.8 kB / 0.8476 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.6037, allocations: 1.367 MB / 0.8489 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.604, allocations: 183.7 kB / 0.8491 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.6041, allocations: 93.11 kB / 0.8492 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003175/0.6045, allocations: 117 kB / 0.8493 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.6045, allocations: 46.48 kB / 0.8493 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.6045, allocations: 0 / 0.8493 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005734/0.6051, allocations: 209.5 kB / 0.8495 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.6052, allocations: 187.9 kB / 0.8497 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.6055, allocations: 283 kB / 0.85 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.6055, allocations: 33.7 kB / 0.85 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.6057, allocations: 147.8 kB / 0.8501 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.6057, allocations: 35.7 kB / 0.8502 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.6058, allocations: 37.62 kB / 0.8502 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6059, allocations: 334.8 kB / 0.8505 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.606, allocations: 47.95 kB / 0.8506 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.6062, allocations: 123.6 kB / 0.8507 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.6065, allocations: 151.6 kB / 0.8508 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6065, allocations: 0 / 0.8508 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000339/0.6068, allocations: 189.2 kB / 0.851 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.6069, allocations: 12.16 kB / 0.851 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.6069, allocations: 11.62 kB / 0.851 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.6069, allocations: 0 / 0.851 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.607, allocations: 35.91 kB / 0.8511 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.607, allocations: 4 kB / 0.8511 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.6072, allocations: 23.83 kB / 0.8511 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.6072, allocations: 8 kB / 0.8511 GB, free: 0.5 MB / 0.6075 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.0001207/0.6073, allocations: 145.8 kB / 0.8512 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.6075, allocations: 35.66 kB / 0.8513 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003509/0.6078, allocations: 127 kB / 0.8514 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.6078, allocations: 4 kB / 0.8514 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.6079, allocations: 0 / 0.8514 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6079, allocations: 7.938 kB / 0.8514 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008106/0.6087, allocations: 0.7768 MB / 0.8522 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6087, allocations: 4.031 kB / 0.8522 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.6088, allocations: 23.97 kB / 0.8522 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.6088, allocations: 4 kB / 0.8522 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.6088, allocations: 4 kB / 0.8522 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.6089, allocations: 4 kB / 0.8522 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6089, allocations: 3.938 kB / 0.8522 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.6093, allocations: 343.5 kB / 0.8525 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.282e-05/0.6094, allocations: 108.8 kB / 0.8526 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.6095, allocations: 5.062 kB / 0.8526 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.6096, allocations: 7.984 kB / 0.8527 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.6097, allocations: 19.92 kB / 0.8527 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.6097, allocations: 0 / 0.8527 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001757/0.6099, allocations: 209.9 kB / 0.8529 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6099, allocations: 0 / 0.8529 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003105/0.6102, allocations: 60 kB / 0.8529 GB, free: 14.48 MB / 0.6231 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.0002975/0.6105, allocations: 143.2 kB / 0.8531 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003114/0.6108, allocations: 120.9 kB / 0.8532 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6108, allocations: 4.125 kB / 0.8532 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.611, allocations: 59.89 kB / 0.8532 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006586/0.6116, allocations: 125 kB / 0.8534 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006917/0.6123, allocations: 496.2 kB / 0.8538 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.6127, allocations: 0.748 MB / 0.8546 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.6128, allocations: 59.81 kB / 0.8546 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.6129, allocations: 19.44 kB / 0.8546 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.6129, allocations: 0 / 0.8546 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of Templates: time 0.007438/0.6203, allocations: 4.243 MB / 0.8588 GB, free: 8.52 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)