Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.577/1.577, allocations: 287.4 MB / 302.5 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 192.6 kB / 371.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008002/0.0008001, allocations: 97.98 kB / 0.7431 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004616, allocations: 12.16 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1809, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5606/0.7416, allocations: 163.1 MB / 1.138 GB, free: 14.39 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007314/0.7489, allocations: 7.276 MB / 1.145 GB, free: 11.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006708/0.7496, allocations: 10.56 kB / 1.145 GB, free: 11.83 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006783/0.7503, allocations: 172.5 kB / 1.145 GB, free: 11.76 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002509/0.7529, allocations: 0.8893 MB / 1.146 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.7544, allocations: 0.5286 MB / 1.147 GB, free: 11.25 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001416/0.7558, allocations: 1.31 MB / 1.148 GB, free: 11.04 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004807/0.7563, allocations: 337.9 kB / 1.148 GB, free: 10.99 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.7579, allocations: 0.6876 MB / 1.149 GB, free: 10.8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000659/0.7586, allocations: 422.1 kB / 1.149 GB, free: 10.7 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.164e-05/0.7587, allocations: 21.25 kB / 1.149 GB, free: 10.7 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.7601, allocations: 0.522 MB / 1.15 GB, free: 10.62 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.7603, allocations: 141.7 kB / 1.15 GB, free: 10.59 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.7604, allocations: 117.6 kB / 1.15 GB, free: 10.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007694/0.7612, allocations: 0.5812 MB / 1.151 GB, free: 10.24 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7612, allocations: 3.938 kB / 1.151 GB, free: 10.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7612, allocations: 0 / 1.151 GB, free: 10.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.7612, allocations: 0 / 1.151 GB, free: 10.23 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001018/0.7623, allocations: 0.7199 MB / 1.151 GB, free: 9.641 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.7623, allocations: 13.72 kB / 1.151 GB, free: 9.637 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.873e-05/0.7624, allocations: 79.5 kB / 1.152 GB, free: 9.586 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008272/0.7632, allocations: 155.7 kB / 1.152 GB, free: 9.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005018/0.7637, allocations: 381.1 kB / 1.152 GB, free: 9.211 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.7638, allocations: 30.31 kB / 1.152 GB, free: 9.211 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.313e-05/0.7639, allocations: 34.12 kB / 1.152 GB, free: 9.211 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007335/0.7646, allocations: 460.6 kB / 1.153 GB, free: 9.023 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.7646, allocations: 1.188 kB / 1.153 GB, free: 9.023 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.7647, allocations: 19.5 kB / 1.153 GB, free: 9.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.7647, allocations: 9.688 kB / 1.153 GB, free: 9.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006141/0.7653, allocations: 326.3 kB / 1.153 GB, free: 8.961 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.002088/0.7674, allocations: 2.022 MB / 1.155 GB, free: 7.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.7678, allocations: 238.2 kB / 1.155 GB, free: 7.285 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.768, allocations: 153.7 kB / 1.155 GB, free: 7.254 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006112/0.7687, allocations: 320.2 kB / 1.156 GB, free: 6.945 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.7687, allocations: 39.77 kB / 1.156 GB, free: 6.898 MB / 0.698 GB Notification: Performance of pre-optimization done (n=24): time 3.216e-06/0.7687, allocations: 0 / 1.156 GB, free: 6.898 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.001018/0.7697, allocations: 471.9 kB / 1.156 GB, free: 6.773 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.7698, allocations: 54.19 kB / 1.156 GB, free: 6.711 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004332/0.7702, allocations: 389 kB / 1.156 GB, free: 6.543 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.7703, allocations: 31.95 kB / 1.156 GB, free: 6.512 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.7704, allocations: 232 kB / 1.157 GB, free: 6.371 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.7705, allocations: 84.06 kB / 1.157 GB, free: 6.309 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.7705, allocations: 4.562 kB / 1.157 GB, free: 6.309 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.7706, allocations: 361 kB / 1.157 GB, free: 5.973 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.7709, allocations: 118.2 kB / 1.157 GB, free: 5.949 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.7711, allocations: 184.7 kB / 1.157 GB, free: 5.859 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.7716, allocations: 317.5 kB / 1.158 GB, free: 5.746 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7716, allocations: 0.7188 kB / 1.158 GB, free: 5.746 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006207/0.7723, allocations: 376.5 kB / 1.158 GB, free: 5.633 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.7723, allocations: 5.781 kB / 1.158 GB, free: 5.633 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.7723, allocations: 1.219 kB / 1.158 GB, free: 5.633 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.7723, allocations: 4.062 kB / 1.158 GB, free: 5.633 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.7726, allocations: 69.56 kB / 1.158 GB, free: 5.617 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.7726, allocations: 3.5 kB / 1.158 GB, free: 5.617 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.7729, allocations: 52.59 kB / 1.158 GB, free: 5.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.773, allocations: 11.56 kB / 1.158 GB, free: 5.59 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 (31): * Single equations (assignments): 31 * 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.0001656/0.7731, allocations: 171.6 kB / 1.158 GB, free: 5.461 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.7732, allocations: 43.41 kB / 1.158 GB, free: 5.438 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006789/0.7739, allocations: 370.5 kB / 1.159 GB, free: 5.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.7739, allocations: 2.75 kB / 1.159 GB, free: 5.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.7739, allocations: 4 kB / 1.159 GB, free: 5.336 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.7739, allocations: 4.984 kB / 1.159 GB, free: 5.332 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.7753, allocations: 0.945 MB / 1.16 GB, free: 4.793 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7753, allocations: 2.125 kB / 1.16 GB, free: 4.793 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.7756, allocations: 55.09 kB / 1.16 GB, free: 4.781 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.7756, allocations: 6.344 kB / 1.16 GB, free: 4.777 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.7756, allocations: 6.562 kB / 1.16 GB, free: 4.777 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.7756, allocations: 11.16 kB / 1.16 GB, free: 4.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.7756, allocations: 2.219 kB / 1.16 GB, free: 4.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/0.7765, allocations: 0.6429 MB / 1.16 GB, free: 4.395 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.7767, allocations: 156.3 kB / 1.161 GB, free: 4.246 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/0.7767, allocations: 7.312 kB / 1.161 GB, free: 4.242 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.777, allocations: 31.47 kB / 1.161 GB, free: 4.227 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.777, allocations: 16.92 kB / 1.161 GB, free: 4.219 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.7771, allocations: 11.91 kB / 1.161 GB, free: 4.215 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002865/0.7773, allocations: 282.8 kB / 1.161 GB, free: 4.035 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7774, allocations: 0 / 1.161 GB, free: 4.035 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004682/0.7778, allocations: 110.1 kB / 1.161 GB, free: 4.016 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (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 (24): * Single equations (assignments): 24 * 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.00156/0.7794, allocations: 1.253 MB / 1.162 GB, free: 3.016 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005773/0.78, allocations: 295.1 kB / 1.162 GB, free: 2.887 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.78, allocations: 0 / 1.162 GB, free: 2.887 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.7803, allocations: 162 kB / 1.163 GB, free: 2.812 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.7814, allocations: 216.8 kB / 1.163 GB, free: 2.707 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/0.7849, allocations: 2.458 MB / 1.165 GB, free: 1.125 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.7853, allocations: 0.8292 MB / 1.166 GB, free: 372 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003596/0.7856, allocations: 98.97 kB / 1.166 GB, free: 328 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.7858, allocations: 137 kB / 1.166 GB, free: 216 kB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.7858, allocations: 0 / 1.166 GB, free: 216 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3342/1.12, allocations: 10.94 MB / 1.177 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/1.12, allocations: 234.1 kB / 1.177 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/3.351, allocations: 7.188 kB / 1.177 GB, free: 10.73 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)