Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0007873/0.0007873, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008845/0.0008847, allocations: 168.7 kB / 15.95 MB, free: 204 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.501/1.501, allocations: 205.4 MB / 222.1 MB, free: 5.875 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0005158/0.000516, allocations: 17.38 kB / 0.6737 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2672, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6827/0.95, allocations: 146.5 MB / 0.9304 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00476/0.9548, allocations: 4.213 MB / 0.9345 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002884/0.9551, allocations: 10.31 kB / 0.9345 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.9555, allocations: 92.95 kB / 0.9346 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007965/0.9563, allocations: 249.5 kB / 0.9348 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008879/0.9572, allocations: 229.9 kB / 0.935 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.9583, allocations: 0.6743 MB / 0.9357 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003758/0.9587, allocations: 151.4 kB / 0.9358 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009725/0.9597, allocations: 359.9 kB / 0.9362 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.9599, allocations: 189.4 kB / 0.9364 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.96, allocations: 8.094 kB / 0.9364 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.9602, allocations: 70.64 kB / 0.9364 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.9603, allocations: 78.67 kB / 0.9365 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003333/0.9607, allocations: 66.3 kB / 0.9366 GB, free: 21.49 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.961, allocations: 208.9 kB / 0.9368 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.961, allocations: 2.688 kB / 0.9368 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.007e-06/0.961, allocations: 1.781 kB / 0.9368 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.961, allocations: 4.391 kB / 0.9368 GB, free: 21.46 MB / 0.7325 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.0007754/0.9618, allocations: 0.4919 MB / 0.9373 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.9618, allocations: 11.31 kB / 0.9373 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.9619, allocations: 27.59 kB / 0.9373 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.9623, allocations: 278.1 kB / 0.9376 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.9623, allocations: 8.625 kB / 0.9376 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.9623, allocations: 23.28 kB / 0.9376 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.9628, allocations: 263.5 kB / 0.9378 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.9628, allocations: 0 / 0.9378 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.9628, allocations: 8.781 kB / 0.9379 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.9628, allocations: 4.531 kB / 0.9379 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.9631, allocations: 168.2 kB / 0.938 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.9644, allocations: 1.372 MB / 0.9394 GB, free: 19.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.9647, allocations: 185.2 kB / 0.9395 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.9648, allocations: 104.5 kB / 0.9396 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003277/0.9652, allocations: 128.5 kB / 0.9398 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.9652, allocations: 45.17 kB / 0.9398 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.9652, allocations: 0 / 0.9398 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0005526/0.9658, allocations: 219 kB / 0.94 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.9659, allocations: 189.7 kB / 0.9402 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.9661, allocations: 291.3 kB / 0.9405 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.9662, allocations: 30.77 kB / 0.9405 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.9663, allocations: 144.5 kB / 0.9406 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.9663, allocations: 36.86 kB / 0.9407 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.9663, allocations: 5.859 kB / 0.9407 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9665, allocations: 337.1 kB / 0.941 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.9666, allocations: 50.39 kB / 0.941 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.9668, allocations: 125 kB / 0.9412 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.967, allocations: 72.25 kB / 0.9412 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.967, allocations: 0 / 0.9412 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003987/0.9674, allocations: 194.8 kB / 0.9414 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.9674, allocations: 5.75 kB / 0.9414 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.9674, allocations: 9.859 kB / 0.9414 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.9675, allocations: 2.844 kB / 0.9414 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.9676, allocations: 38.89 kB / 0.9415 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.9676, allocations: 3.062 kB / 0.9415 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.9678, allocations: 27.83 kB / 0.9415 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.9679, allocations: 12.31 kB / 0.9415 GB, free: 18.27 MB / 0.7325 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.0001444/0.968, allocations: 147.7 kB / 0.9417 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.9681, allocations: 23.97 kB / 0.9417 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.9685, allocations: 145.5 kB / 0.9418 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.9685, allocations: 8.156 kB / 0.9418 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.9685, allocations: 5.531 kB / 0.9418 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.9685, allocations: 5.344 kB / 0.9418 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008621/0.9694, allocations: 0.7717 MB / 0.9426 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.9694, allocations: 1.312 kB / 0.9426 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.9695, allocations: 28.33 kB / 0.9426 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.9696, allocations: 2.531 kB / 0.9426 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.9696, allocations: 5.906 kB / 0.9426 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.9696, allocations: 4.469 kB / 0.9426 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.9696, allocations: 1.812 kB / 0.9426 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/0.9701, allocations: 353.2 kB / 0.943 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.9703, allocations: 114.5 kB / 0.9431 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.9703, allocations: 2.438 kB / 0.9431 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.9704, allocations: 15.11 kB / 0.9431 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.9705, allocations: 8.25 kB / 0.9431 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.9705, allocations: 8.25 kB / 0.9431 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002501/0.9708, allocations: 210.7 kB / 0.9433 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9708, allocations: 4 kB / 0.9433 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003381/0.9711, allocations: 50.22 kB / 0.9434 GB, free: 17.06 MB / 0.7325 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 (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.0003241/0.9715, allocations: 147 kB / 0.9435 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003531/0.9718, allocations: 133.5 kB / 0.9436 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.9718, allocations: 0.9375 kB / 0.9436 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.972, allocations: 63.47 kB / 0.9437 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006988/0.9727, allocations: 126 kB / 0.9438 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007867/0.9735, allocations: 0.5509 MB / 0.9443 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.9738, allocations: 0.7572 MB / 0.9451 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001486/0.974, allocations: 48.09 kB / 0.9451 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.9741, allocations: 27.33 kB / 0.9452 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of SimCode: time 1.522e-06/0.9741, allocations: 1.219 kB / 0.9452 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of Templates: time 0.008051/0.9821, allocations: 3.883 MB / 0.949 GB, free: 15.62 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) Environment - environmentSimulation: