Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001079/0.001079, allocations: 91.84 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.008357/0.008357, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.477/1.477, allocations: 223.2 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.145/3.145, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003479, allocations: 15.84 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3796, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1868/0.5664, allocations: 157.1 MB / 1.228 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005267/0.5717, allocations: 4.483 MB / 1.232 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.572, allocations: 11.88 kB / 1.232 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.5724, allocations: 99.36 kB / 1.232 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008335/0.5732, allocations: 306.7 kB / 1.232 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.5739, allocations: 254.5 kB / 1.233 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008007/0.5747, allocations: 0.7875 MB / 1.233 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.575, allocations: 169.5 kB / 1.233 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009502/0.576, allocations: 418.4 kB / 1.234 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.5763, allocations: 199.2 kB / 1.234 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/0.5763, allocations: 12 kB / 1.234 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.5765, allocations: 67.92 kB / 1.234 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.5766, allocations: 79.72 kB / 1.234 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.5768, allocations: 133.1 kB / 1.234 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.5771, allocations: 287 kB / 1.235 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5772, allocations: 0 / 1.235 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5772, allocations: 0 / 1.235 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.5772, allocations: 0 / 1.235 GB, free: 2.574 MB / 0.9825 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.0008148/0.578, allocations: 0.4905 MB / 1.235 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.578, allocations: 12.03 kB / 1.235 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.71e-05/0.5781, allocations: 27.66 kB / 1.235 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.5785, allocations: 279.4 kB / 1.235 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.5785, allocations: 12 kB / 1.235 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.5786, allocations: 20 kB / 1.235 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.579, allocations: 265.9 kB / 1.236 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.5791, allocations: 7.938 kB / 1.236 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.5791, allocations: 7.938 kB / 1.236 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.5791, allocations: 4 kB / 1.236 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/0.5795, allocations: 167.7 kB / 1.236 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.581, allocations: 1.375 MB / 1.237 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.5813, allocations: 183.7 kB / 1.237 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.5815, allocations: 105 kB / 1.237 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004103/0.582, allocations: 129 kB / 1.238 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.582, allocations: 42.5 kB / 1.238 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.582, allocations: 0 / 1.238 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0006999/0.5827, allocations: 225.2 kB / 1.238 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.5829, allocations: 192.4 kB / 1.238 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.5832, allocations: 283 kB / 1.238 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.5833, allocations: 37.64 kB / 1.238 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.5834, allocations: 151.8 kB / 1.238 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.5835, allocations: 27.56 kB / 1.239 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.5835, allocations: 21.7 kB / 1.239 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.5837, allocations: 334.8 kB / 1.239 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.5839, allocations: 51.97 kB / 1.239 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.5841, allocations: 117.5 kB / 1.239 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.5844, allocations: 174.6 kB / 1.239 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5845, allocations: 0 / 1.239 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003976/0.5849, allocations: 205.5 kB / 1.239 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.5849, allocations: 11.94 kB / 1.239 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.5849, allocations: 4 kB / 1.239 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.5849, allocations: 4 kB / 1.239 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.5851, allocations: 27.98 kB / 1.239 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.5851, allocations: 4 kB / 1.239 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.5853, allocations: 35.92 kB / 1.239 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.5853, allocations: 8 kB / 1.239 GB, free: 13.14 MB / 0.9981 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.0001439/0.5854, allocations: 157.6 kB / 1.24 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.5856, allocations: 27.66 kB / 1.24 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.5859, allocations: 139 kB / 1.24 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.5859, allocations: 7.938 kB / 1.24 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.586, allocations: 0 / 1.24 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.586, allocations: 0 / 1.24 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007817/0.5867, allocations: 0.773 MB / 1.241 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5868, allocations: 0 / 1.241 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.5869, allocations: 27.92 kB / 1.241 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.5869, allocations: 7.938 kB / 1.241 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.5869, allocations: 4 kB / 1.241 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5869, allocations: 0 / 1.241 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5869, allocations: 4.156 kB / 1.241 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.5875, allocations: 359.4 kB / 1.241 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.614e-05/0.5876, allocations: 108.8 kB / 1.241 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.5876, allocations: 11.98 kB / 1.241 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.5878, allocations: 12.06 kB / 1.241 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.5878, allocations: 15.86 kB / 1.241 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.5878, allocations: 8.062 kB / 1.241 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000211/0.5881, allocations: 209.9 kB / 1.241 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5881, allocations: 0 / 1.241 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003321/0.5884, allocations: 55.91 kB / 1.241 GB, free: 11.09 MB / 0.9981 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.0003182/0.5887, allocations: 148.1 kB / 1.241 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003552/0.5891, allocations: 128.2 kB / 1.242 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5891, allocations: 4.062 kB / 1.242 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.5893, allocations: 63.91 kB / 1.242 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008182/0.5901, allocations: 126.6 kB / 1.242 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008048/0.5909, allocations: 0.5561 MB / 1.242 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.5912, allocations: 0.7677 MB / 1.243 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000153/0.5914, allocations: 58.42 kB / 1.243 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.5915, allocations: 27.44 kB / 1.243 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.5915, allocations: 0 / 1.243 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of Templates: time 0.008274/0.5997, allocations: 3.991 MB / 1.247 GB, free: 5.23 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)