Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.053/2.053, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001304/0.001304, allocations: 183.1 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.4 MB / 0.5772 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009047/0.0009046, allocations: 94.23 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004592, allocations: 13.12 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1917, allocations: 106.3 MB / 0.8995 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2505/0.4423, allocations: 146.6 MB / 1.043 GB, free: 14.96 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01174/0.4541, allocations: 4.283 MB / 1.047 GB, free: 10.67 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004427/0.4546, allocations: 11.94 kB / 1.047 GB, free: 10.66 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006417/0.4552, allocations: 83.36 kB / 1.047 GB, free: 10.58 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.4567, allocations: 258.8 kB / 1.047 GB, free: 10.32 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.4582, allocations: 231 kB / 1.047 GB, free: 10.1 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001597/0.4598, allocations: 0.6665 MB / 1.048 GB, free: 9.434 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005965/0.4605, allocations: 157.3 kB / 1.048 GB, free: 9.281 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.4622, allocations: 362.5 kB / 1.049 GB, free: 8.926 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006193/0.4629, allocations: 191.2 kB / 1.049 GB, free: 8.738 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.406e-05/0.463, allocations: 12 kB / 1.049 GB, free: 8.727 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.4633, allocations: 59.95 kB / 1.049 GB, free: 8.668 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.4635, allocations: 79.75 kB / 1.049 GB, free: 8.59 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.4637, allocations: 69.58 kB / 1.049 GB, free: 8.516 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005228/0.4642, allocations: 199.5 kB / 1.049 GB, free: 8.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4643, allocations: 3.938 kB / 1.049 GB, free: 8.316 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.46e-06/0.4643, allocations: 3.984 kB / 1.049 GB, free: 8.312 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.4643, allocations: 0 / 1.049 GB, free: 8.312 MB / 0.698 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.001304/0.4656, allocations: 0.4945 MB / 1.05 GB, free: 7.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.4657, allocations: 8.031 kB / 1.05 GB, free: 7.762 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.4658, allocations: 31.66 kB / 1.05 GB, free: 7.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007147/0.4666, allocations: 262.6 kB / 1.05 GB, free: 7.434 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.4666, allocations: 8 kB / 1.05 GB, free: 7.426 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.421e-05/0.4667, allocations: 28 kB / 1.05 GB, free: 7.398 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009542/0.4677, allocations: 265.6 kB / 1.05 GB, free: 7.102 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.4677, allocations: 7.938 kB / 1.05 GB, free: 7.094 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.009e-05/0.4678, allocations: 7.938 kB / 1.05 GB, free: 7.086 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.4678, allocations: 4 kB / 1.05 GB, free: 7.082 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008584/0.4687, allocations: 159.8 kB / 1.05 GB, free: 6.926 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002852/0.4716, allocations: 1.375 MB / 1.052 GB, free: 5.457 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006475/0.4723, allocations: 179.7 kB / 1.052 GB, free: 5.227 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/0.4727, allocations: 105.1 kB / 1.052 GB, free: 5.105 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008259/0.4736, allocations: 129 kB / 1.052 GB, free: 4.961 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/0.4736, allocations: 46.48 kB / 1.052 GB, free: 4.906 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 4.929e-06/0.4737, allocations: 0 / 1.052 GB, free: 4.906 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.001478/0.4752, allocations: 229.5 kB / 1.052 GB, free: 4.676 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.4753, allocations: 179.9 kB / 1.053 GB, free: 4.457 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006447/0.476, allocations: 286.9 kB / 1.053 GB, free: 4.168 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.4761, allocations: 33.86 kB / 1.053 GB, free: 4.129 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.4763, allocations: 139.9 kB / 1.053 GB, free: 3.988 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/0.4764, allocations: 39.34 kB / 1.053 GB, free: 3.949 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/0.4764, allocations: 0 / 1.053 GB, free: 3.949 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002172/0.4766, allocations: 338.8 kB / 1.053 GB, free: 3.609 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.477, allocations: 47.95 kB / 1.053 GB, free: 3.562 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004496/0.4774, allocations: 115.9 kB / 1.054 GB, free: 3.426 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.4778, allocations: 63.97 kB / 1.054 GB, free: 3.363 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.4778, allocations: 0 / 1.054 GB, free: 3.363 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009942/0.4789, allocations: 205.2 kB / 1.054 GB, free: 3.156 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.4789, allocations: 7.938 kB / 1.054 GB, free: 3.148 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.4789, allocations: 4 kB / 1.054 GB, free: 3.145 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.479, allocations: 0 / 1.054 GB, free: 3.145 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.4793, allocations: 35.97 kB / 1.054 GB, free: 3.109 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.4794, allocations: 7.938 kB / 1.054 GB, free: 3.102 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.4798, allocations: 32.02 kB / 1.054 GB, free: 3.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.4799, allocations: 8 kB / 1.054 GB, free: 3.062 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002804/0.4802, allocations: 145.8 kB / 1.054 GB, free: 2.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/0.4805, allocations: 27.66 kB / 1.054 GB, free: 2.883 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007833/0.4813, allocations: 151.1 kB / 1.054 GB, free: 2.727 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.4813, allocations: 0 / 1.054 GB, free: 2.727 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4813, allocations: 4 kB / 1.054 GB, free: 2.723 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.4815, allocations: 112.8 kB / 1.054 GB, free: 2.594 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.463e-05/0.4816, allocations: 0 / 1.054 GB, free: 2.594 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007619/0.4824, allocations: 11.98 kB / 1.054 GB, free: 2.582 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.101e-05/0.4825, allocations: 19.92 kB / 1.054 GB, free: 2.562 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001283/0.4838, allocations: 0.6221 MB / 1.055 GB, free: 1.93 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001532/0.4854, allocations: 0.7607 MB / 1.056 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003821/0.4858, allocations: 67.92 kB / 1.056 GB, free: 1.082 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004579/0.4863, allocations: 205.9 kB / 1.056 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of Backend: time 1.152e-06/0.4863, allocations: 0 / 1.056 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002473/0.4888, allocations: 197.7 kB / 1.056 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of SimCode: time 0.6063/1.095, allocations: 1.061 MB / 1.057 GB, free: 158.8 MB / 0.698 GB Notification: Performance of Templates: time 0.01235/1.108, allocations: 3.962 MB / 1.061 GB, free: 158.7 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)