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.001471/0.001471, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.892/2.892, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.39 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3325, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.171/0.5035, allocations: 161.4 MB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005024/0.5086, allocations: 4.545 MB / 1.23 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003096/0.5089, allocations: 11.88 kB / 1.23 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004305/0.5094, allocations: 123.1 kB / 1.23 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007593/0.5102, allocations: 330.4 kB / 1.231 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007263/0.5109, allocations: 270.9 kB / 1.231 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005592/0.5115, allocations: 0.5573 MB / 1.231 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003249/0.5118, allocations: 209.2 kB / 1.232 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000882/0.5127, allocations: 462.2 kB / 1.232 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.513, allocations: 187.3 kB / 1.232 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.513, allocations: 16 kB / 1.232 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.5132, allocations: 83.86 kB / 1.232 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.5133, allocations: 87.73 kB / 1.232 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.5135, allocations: 119.4 kB / 1.233 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.5138, allocations: 291.1 kB / 1.233 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5138, allocations: 0 / 1.233 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5138, allocations: 0 / 1.233 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.5138, allocations: 0 / 1.233 GB, free: 1.16 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.0008384/0.5147, allocations: 0.5334 MB / 1.233 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.5147, allocations: 8.031 kB / 1.233 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.614e-05/0.5148, allocations: 27.66 kB / 1.233 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.5151, allocations: 275.3 kB / 1.234 GB, free: 240 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.5152, allocations: 16 kB / 1.234 GB, free: 224 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.5152, allocations: 19.94 kB / 1.234 GB, free: 204 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.5156, allocations: 257.9 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5157, allocations: 4 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.5157, allocations: 11.94 kB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.5157, allocations: 4 kB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.516, allocations: 152.7 kB / 1.234 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.5173, allocations: 1.379 MB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.5175, allocations: 183.6 kB / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.5177, allocations: 93.11 kB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003384/0.5181, allocations: 117 kB / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.5181, allocations: 46.44 kB / 1.236 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.5181, allocations: 0 / 1.236 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0005999/0.5187, allocations: 213.1 kB / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/0.5188, allocations: 183.9 kB / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.5191, allocations: 287.6 kB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.5191, allocations: 29.7 kB / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.5192, allocations: 147.9 kB / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.5192, allocations: 35.45 kB / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.5193, allocations: 37.72 kB / 1.237 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5194, allocations: 330.8 kB / 1.237 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.5196, allocations: 47.95 kB / 1.237 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.5198, allocations: 121.6 kB / 1.237 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.5201, allocations: 154.7 kB / 1.237 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.5201, allocations: 4 kB / 1.237 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003591/0.5204, allocations: 185.2 kB / 1.238 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.5205, allocations: 7.938 kB / 1.238 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.5205, allocations: 4 kB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5205, allocations: 0 / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.5206, allocations: 39.91 kB / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.5207, allocations: 4.312 kB / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.5208, allocations: 31.67 kB / 1.238 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.5208, allocations: 8 kB / 1.238 GB, free: 11.77 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.0001213/0.521, allocations: 157.8 kB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.5211, allocations: 27.66 kB / 1.238 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.5214, allocations: 131 kB / 1.238 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.5214, allocations: 0 / 1.238 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5214, allocations: 7.938 kB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5214, allocations: 0 / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007392/0.5222, allocations: 0.7729 MB / 1.239 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5222, allocations: 0 / 1.239 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.5223, allocations: 31.97 kB / 1.239 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5223, allocations: 0 / 1.239 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.5224, allocations: 4 kB / 1.239 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.5224, allocations: 4.156 kB / 1.239 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.5224, allocations: 7.938 kB / 1.239 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/0.5229, allocations: 343.3 kB / 1.239 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.417e-05/0.523, allocations: 112.9 kB / 1.239 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.523, allocations: 0 / 1.239 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.5231, allocations: 15.98 kB / 1.239 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.5232, allocations: 11.92 kB / 1.239 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.5232, allocations: 4 kB / 1.239 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001825/0.5234, allocations: 214 kB / 1.239 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5234, allocations: 0 / 1.239 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003186/0.5237, allocations: 52 kB / 1.239 GB, free: 9.754 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.0003169/0.524, allocations: 139 kB / 1.24 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003416/0.5244, allocations: 136 kB / 1.24 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5244, allocations: 0 / 1.24 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.5246, allocations: 59.89 kB / 1.24 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007241/0.5253, allocations: 126.8 kB / 1.24 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007355/0.526, allocations: 496.1 kB / 1.24 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.5263, allocations: 0.7595 MB / 1.241 GB, free: 8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000143/0.5265, allocations: 46.25 kB / 1.241 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.5265, allocations: 27.38 kB / 1.241 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.5265, allocations: 0 / 1.241 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of Templates: time 0.007785/0.5343, allocations: 4.226 MB / 1.245 GB, free: 3.766 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)