Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.649/1.649, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001702/0.001702, allocations: 175.3 kB / 326.5 MB, free: 2.227 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.044/2.044, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009127/0.0009125, allocations: 91.8 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004876, allocations: 9.719 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2936, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1596/0.4533, allocations: 140.5 MB / 1.037 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006692/0.46, allocations: 5.317 MB / 1.042 GB, free: 13.68 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004518/0.4605, allocations: 11.94 kB / 1.043 GB, free: 13.67 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007227/0.4613, allocations: 195.1 kB / 1.043 GB, free: 13.48 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.463, allocations: 0.5802 MB / 1.043 GB, free: 12.89 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.4641, allocations: 381.6 kB / 1.044 GB, free: 12.53 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000636/0.4647, allocations: 451.9 kB / 1.044 GB, free: 12.08 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004075/0.4651, allocations: 221.3 kB / 1.044 GB, free: 11.86 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008876/0.466, allocations: 434.7 kB / 1.045 GB, free: 11.44 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.4664, allocations: 211.3 kB / 1.045 GB, free: 11.23 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.4664, allocations: 16 kB / 1.045 GB, free: 11.21 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004857/0.4669, allocations: 207.6 kB / 1.045 GB, free: 11.01 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.82e-05/0.467, allocations: 87.72 kB / 1.045 GB, free: 10.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.992e-05/0.4671, allocations: 81.58 kB / 1.045 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.4675, allocations: 327.5 kB / 1.046 GB, free: 10.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4675, allocations: 0 / 1.046 GB, free: 10.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4675, allocations: 0 / 1.046 GB, free: 10.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.138e-06/0.4676, allocations: 0 / 1.046 GB, free: 10.52 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009226/0.4685, allocations: 0.5882 MB / 1.046 GB, free: 9.883 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4685, allocations: 8.031 kB / 1.046 GB, free: 9.875 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.858e-05/0.4686, allocations: 62.53 kB / 1.046 GB, free: 9.805 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002907/0.4689, allocations: 59.59 kB / 1.046 GB, free: 9.746 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.4694, allocations: 310 kB / 1.047 GB, free: 9.406 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.4694, allocations: 20.56 kB / 1.047 GB, free: 9.387 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.4695, allocations: 24 kB / 1.047 GB, free: 9.363 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.47, allocations: 304.3 kB / 1.047 GB, free: 9.051 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.47, allocations: 0 / 1.047 GB, free: 9.051 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.4701, allocations: 19.95 kB / 1.047 GB, free: 9.031 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-06/0.4701, allocations: 4 kB / 1.047 GB, free: 9.027 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004556/0.4705, allocations: 229.5 kB / 1.047 GB, free: 8.805 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.472, allocations: 1.149 MB / 1.048 GB, free: 7.559 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.4725, allocations: 202.5 kB / 1.048 GB, free: 7.352 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004206/0.4729, allocations: 129.4 kB / 1.049 GB, free: 7.207 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.473, allocations: 50.5 kB / 1.049 GB, free: 7.148 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 2.796e-06/0.473, allocations: 3.984 kB / 1.049 GB, free: 7.145 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0008362/0.4738, allocations: 351 kB / 1.049 GB, free: 6.797 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.4739, allocations: 59.34 kB / 1.049 GB, free: 6.727 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.4742, allocations: 300.5 kB / 1.049 GB, free: 6.426 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.4742, allocations: 29.7 kB / 1.049 GB, free: 6.391 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.4744, allocations: 168.3 kB / 1.049 GB, free: 6.223 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.4744, allocations: 63.09 kB / 1.05 GB, free: 6.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.4744, allocations: 4 kB / 1.05 GB, free: 6.156 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4746, allocations: 342.8 kB / 1.05 GB, free: 5.812 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.4748, allocations: 79.94 kB / 1.05 GB, free: 5.734 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.475, allocations: 116.8 kB / 1.05 GB, free: 5.617 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.4752, allocations: 101.9 kB / 1.05 GB, free: 5.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4753, allocations: 3.953 kB / 1.05 GB, free: 5.516 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004747/0.4757, allocations: 253.2 kB / 1.05 GB, free: 5.262 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.4758, allocations: 15.98 kB / 1.05 GB, free: 5.246 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4758, allocations: 0 / 1.05 GB, free: 5.246 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.4758, allocations: 0 / 1.05 GB, free: 5.246 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.476, allocations: 43.97 kB / 1.05 GB, free: 5.203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.476, allocations: 4 kB / 1.05 GB, free: 5.199 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.4762, allocations: 35.67 kB / 1.051 GB, free: 5.164 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.4762, allocations: 15.94 kB / 1.051 GB, free: 5.148 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (21): * Single equations (assignments): 21 * 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.0001595/0.4764, allocations: 141.8 kB / 1.051 GB, free: 5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.4765, allocations: 27.72 kB / 1.051 GB, free: 4.973 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005765/0.477, allocations: 289.9 kB / 1.051 GB, free: 4.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4771, allocations: 0 / 1.051 GB, free: 4.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.4771, allocations: 7.953 kB / 1.051 GB, free: 4.672 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4771, allocations: 0 / 1.051 GB, free: 4.672 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.4783, allocations: 0.7655 MB / 1.052 GB, free: 3.828 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.4783, allocations: 7.938 kB / 1.052 GB, free: 3.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.4785, allocations: 48.12 kB / 1.052 GB, free: 3.773 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.4785, allocations: 4 kB / 1.052 GB, free: 3.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.4785, allocations: 8 kB / 1.052 GB, free: 3.762 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4786, allocations: 0 / 1.052 GB, free: 3.762 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4786, allocations: 4 kB / 1.052 GB, free: 3.758 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008463/0.4794, allocations: 0.5868 MB / 1.052 GB, free: 3.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.4796, allocations: 128.7 kB / 1.052 GB, free: 2.945 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.4796, allocations: 8.062 kB / 1.052 GB, free: 2.938 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.4798, allocations: 19.98 kB / 1.053 GB, free: 2.918 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.4799, allocations: 11.98 kB / 1.053 GB, free: 2.906 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.4799, allocations: 8 kB / 1.053 GB, free: 2.898 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002249/0.4801, allocations: 215 kB / 1.053 GB, free: 2.691 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.753e-06/0.4801, allocations: 4 kB / 1.053 GB, free: 2.688 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004177/0.4806, allocations: 91.73 kB / 1.053 GB, free: 2.598 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (senH_flow.h_out,senH.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 (19): * Single equations (assignments): 19 * 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.00171/0.4823, allocations: 1.669 MB / 1.054 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004824/0.4828, allocations: 207.8 kB / 1.055 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4828, allocations: 0 / 1.055 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.483, allocations: 119.8 kB / 1.055 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007656/0.4838, allocations: 149 kB / 1.055 GB, free: 412 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.422/0.9058, allocations: 2.025 MB / 1.057 GB, free: 156 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.9062, allocations: 0.7916 MB / 1.058 GB, free: 155.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002658/0.9064, allocations: 65.25 kB / 1.058 GB, free: 155.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.9066, allocations: 92.31 kB / 1.058 GB, free: 155.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.303e-06/0.9066, allocations: 0 / 1.058 GB, free: 155.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.9326, allocations: 7.863 MB / 1.065 GB, free: 154.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.9328, allocations: 228.1 kB / 1.066 GB, free: 154.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/3.08, allocations: 0 / 1.066 GB, free: 154.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)