Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.474/1.474, allocations: 252 MB / 267 MB, free: 10.97 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.00104/0.00104, allocations: 180.6 kB / 326.6 MB, free: 2.215 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.055/2.055, allocations: 205.4 MB / 0.5777 GB, free: 20.2 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.0007843/0.0007842, allocations: 97.92 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 17.31 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2531, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1725/0.4256, allocations: 146.6 MB / 1.043 GB, free: 12.78 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005934/0.4316, allocations: 4.275 MB / 1.048 GB, free: 8.492 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.4319, allocations: 11.88 kB / 1.048 GB, free: 8.48 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004291/0.4324, allocations: 87.34 kB / 1.048 GB, free: 8.395 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000824/0.4332, allocations: 250.8 kB / 1.048 GB, free: 8.148 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009295/0.4342, allocations: 234.7 kB / 1.048 GB, free: 7.922 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009476/0.4351, allocations: 0.6626 MB / 1.049 GB, free: 7.258 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.4355, allocations: 157.3 kB / 1.049 GB, free: 7.105 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.4366, allocations: 362.5 kB / 1.049 GB, free: 6.75 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.4369, allocations: 179.3 kB / 1.05 GB, free: 6.574 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.4369, allocations: 11.98 kB / 1.05 GB, free: 6.562 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.4372, allocations: 71.88 kB / 1.05 GB, free: 6.492 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.4373, allocations: 75.78 kB / 1.05 GB, free: 6.418 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.932e-05/0.4374, allocations: 69.58 kB / 1.05 GB, free: 6.344 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.4377, allocations: 211.7 kB / 1.05 GB, free: 6.137 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.4377, allocations: 0 / 1.05 GB, free: 6.137 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.116e-06/0.4377, allocations: 0 / 1.05 GB, free: 6.137 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4377, allocations: 0 / 1.05 GB, free: 6.137 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.0008582/0.4386, allocations: 0.4945 MB / 1.05 GB, free: 5.594 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4387, allocations: 12.03 kB / 1.05 GB, free: 5.582 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.268e-05/0.4387, allocations: 54.55 kB / 1.051 GB, free: 5.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.711e-05/0.4388, allocations: 23.72 kB / 1.051 GB, free: 5.496 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.4392, allocations: 278.2 kB / 1.051 GB, free: 5.184 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.4392, allocations: 12 kB / 1.051 GB, free: 5.172 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.4393, allocations: 20 kB / 1.051 GB, free: 5.152 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/0.4398, allocations: 265.8 kB / 1.051 GB, free: 4.855 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4398, allocations: 0 / 1.051 GB, free: 4.855 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.4398, allocations: 4 kB / 1.051 GB, free: 4.852 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.4398, allocations: 8 kB / 1.051 GB, free: 4.844 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003727/0.4402, allocations: 159.8 kB / 1.051 GB, free: 4.688 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.4418, allocations: 1.375 MB / 1.053 GB, free: 3.219 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.4421, allocations: 179.7 kB / 1.053 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.4424, allocations: 101.1 kB / 1.053 GB, free: 2.871 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003937/0.4428, allocations: 129 kB / 1.053 GB, free: 2.727 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.4428, allocations: 50.45 kB / 1.053 GB, free: 2.668 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 3.196e-06/0.4428, allocations: 0 / 1.053 GB, free: 2.668 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0006505/0.4435, allocations: 225.8 kB / 1.053 GB, free: 2.441 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.4436, allocations: 191.8 kB / 1.053 GB, free: 2.211 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.4439, allocations: 275 kB / 1.054 GB, free: 1.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.444, allocations: 29.7 kB / 1.054 GB, free: 1.895 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.4441, allocations: 143.9 kB / 1.054 GB, free: 1.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.4441, allocations: 43.52 kB / 1.054 GB, free: 1.707 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.4441, allocations: 0 / 1.054 GB, free: 1.707 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4443, allocations: 338.8 kB / 1.054 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.4444, allocations: 43.97 kB / 1.054 GB, free: 1.324 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.4447, allocations: 120.8 kB / 1.054 GB, free: 1.184 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.4448, allocations: 59.91 kB / 1.054 GB, free: 1.125 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4449, allocations: 8 kB / 1.054 GB, free: 1.117 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004127/0.4453, allocations: 197.1 kB / 1.055 GB, free: 0.918 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.4453, allocations: 8.219 kB / 1.055 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.4453, allocations: 7.953 kB / 1.055 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.4454, allocations: 4 kB / 1.055 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.4455, allocations: 28.3 kB / 1.055 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.4455, allocations: 4 kB / 1.055 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.4458, allocations: 35.73 kB / 1.055 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.4458, allocations: 8 kB / 1.055 GB, free: 0.8242 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.0001915/0.4461, allocations: 157.7 kB / 1.055 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.4462, allocations: 23.72 kB / 1.055 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004054/0.4466, allocations: 134.9 kB / 1.055 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.4466, allocations: 11.89 kB / 1.055 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4466, allocations: 4 kB / 1.055 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4466, allocations: 4 kB / 1.055 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4949/0.9415, allocations: 0.7569 MB / 1.056 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.9416, allocations: 3.75 kB / 1.056 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.9418, allocations: 27.69 kB / 1.056 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.9418, allocations: 4.469 kB / 1.056 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.9418, allocations: 2.156 kB / 1.056 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.9418, allocations: 7.984 kB / 1.056 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9418, allocations: 0.7188 kB / 1.056 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005808/0.9424, allocations: 352.2 kB / 1.056 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.9425, allocations: 118.8 kB / 1.056 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.9426, allocations: 2.188 kB / 1.056 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.9427, allocations: 15.36 kB / 1.056 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.9428, allocations: 14.64 kB / 1.056 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.9428, allocations: 5.359 kB / 1.056 GB, free: 156.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001854/0.943, allocations: 203.5 kB / 1.056 GB, free: 156.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.943, allocations: 3.969 kB / 1.057 GB, free: 156.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003755/0.9434, allocations: 51.53 kB / 1.057 GB, free: 156.6 MB / 0.698 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.0008998/0.9443, allocations: 0.922 MB / 1.057 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003367/0.9447, allocations: 132.1 kB / 1.058 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9447, allocations: 0 / 1.058 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.9448, allocations: 65.53 kB / 1.058 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007248/0.9455, allocations: 123.7 kB / 1.058 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.9475, allocations: 1.469 MB / 1.059 GB, free: 155.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.9477, allocations: 0.7568 MB / 1.06 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.9479, allocations: 54.69 kB / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.379e-05/0.948, allocations: 65.56 kB / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.948, allocations: 0 / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.9687, allocations: 6.217 MB / 1.066 GB, free: 154.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/0.9689, allocations: 235.1 kB / 1.066 GB, free: 153.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/3.031, allocations: 0 / 1.066 GB, free: 153.9 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)