Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.648/1.648, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001031/0.001031, allocations: 172.9 kB / 361.4 MB, free: 6.867 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.759/1.759, allocations: 205.2 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008168/0.0008168, allocations: 94.78 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.975e-05/1.978e-05, allocations: 4 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7176/0.7177, allocations: 115.3 MB / 0.9644 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.644/6.362, allocations: 2.086 GB / 3.051 GB, free: 28.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/6.362, allocations: 87.14 kB / 3.051 GB, free: 28.27 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.011/10.37, allocations: 1.025 GB / 4.076 GB, free: 99.13 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.352e-06/10.37, allocations: 0 / 4.076 GB, free: 99.13 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002484/10.37, allocations: 47.92 kB / 4.076 GB, free: 99.09 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.006057/10.38, allocations: 2.063 MB / 4.078 GB, free: 96.95 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/10.38, allocations: 8.031 kB / 4.078 GB, free: 96.95 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00427/10.38, allocations: 0.6141 MB / 4.078 GB, free: 96.33 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00392/10.39, allocations: 1.437 MB / 4.08 GB, free: 94.84 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000379/10.39, allocations: 118.3 kB / 4.08 GB, free: 94.72 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003729/10.39, allocations: 76 kB / 4.08 GB, free: 94.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002008/10.39, allocations: 0.9731 MB / 4.081 GB, free: 93.67 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/10.39, allocations: 1.192 MB / 4.082 GB, free: 92.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/10.39, allocations: 3.938 kB / 4.082 GB, free: 92.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/10.39, allocations: 11.95 kB / 4.082 GB, free: 92.39 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/10.39, allocations: 42.27 kB / 4.082 GB, free: 92.35 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.008407/10.4, allocations: 5.759 MB / 4.088 GB, free: 86.27 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/10.4, allocations: 0.8787 MB / 4.089 GB, free: 85.34 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005581/10.4, allocations: 423.7 kB / 4.089 GB, free: 84.92 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005546/10.4, allocations: 316 kB / 4.089 GB, free: 84.56 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006346/10.4, allocations: 489.8 kB / 4.09 GB, free: 84.07 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 4.178e-06/10.4, allocations: 0 / 4.09 GB, free: 84.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.002384/10.41, allocations: 1.015 MB / 4.091 GB, free: 83.04 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/10.41, allocations: 192.7 kB / 4.091 GB, free: 82.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/10.41, allocations: 0.9305 MB / 4.092 GB, free: 81.87 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/10.41, allocations: 29.7 kB / 4.092 GB, free: 81.83 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006096/10.41, allocations: 0.7627 MB / 4.093 GB, free: 81.06 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/10.41, allocations: 260 kB / 4.093 GB, free: 80.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/10.41, allocations: 4 kB / 4.093 GB, free: 80.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/10.41, allocations: 345.9 kB / 4.093 GB, free: 80.46 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/10.41, allocations: 314.5 kB / 4.094 GB, free: 80.15 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005403/10.41, allocations: 0.5628 MB / 4.094 GB, free: 79.49 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007882/10.41, allocations: 444.3 kB / 4.095 GB, free: 79.05 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/10.41, allocations: 0 / 4.095 GB, free: 79.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001958/10.41, allocations: 1.103 MB / 4.096 GB, free: 77.94 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003313/10.41, allocations: 1.738 MB / 4.097 GB, free: 76.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/10.41, allocations: 4 kB / 4.097 GB, free: 76.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/10.41, allocations: 44.84 kB / 4.097 GB, free: 76.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008724/10.41, allocations: 199.8 kB / 4.098 GB, free: 75.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003785/10.41, allocations: 0.5953 MB / 4.098 GB, free: 75.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/10.42, allocations: 155.3 kB / 4.098 GB, free: 75.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/10.42, allocations: 39.98 kB / 4.098 GB, free: 75.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/10.42, allocations: 4 kB / 4.098 GB, free: 75.05 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001628/10.42, allocations: 0.9324 MB / 4.099 GB, free: 74.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/10.42, allocations: 4 kB / 4.099 GB, free: 74.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001335/10.42, allocations: 57.38 kB / 4.099 GB, free: 74.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008637/10.42, allocations: 203.7 kB / 4.1 GB, free: 73.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/10.42, allocations: 1.536 MB / 4.101 GB, free: 72.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/10.42, allocations: 155.3 kB / 4.101 GB, free: 72.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/10.42, allocations: 39.98 kB / 4.101 GB, free: 71.99 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.00035/10.42, allocations: 167 kB / 4.101 GB, free: 71.81 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002048/10.42, allocations: 0.9754 MB / 4.102 GB, free: 70.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000422/10.43, allocations: 150.2 kB / 4.102 GB, free: 70.68 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/10.43, allocations: 1.035 MB / 4.103 GB, free: 69.63 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/10.43, allocations: 8 kB / 4.104 GB, free: 69.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/10.43, allocations: 3.953 kB / 4.104 GB, free: 69.62 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001345/10.43, allocations: 0.9409 MB / 4.104 GB, free: 68.64 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.004618/10.43, allocations: 2.575 MB / 4.107 GB, free: 65.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/10.43, allocations: 4 kB / 4.107 GB, free: 65.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009085/10.43, allocations: 184 kB / 4.107 GB, free: 65.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001266/10.43, allocations: 40.84 kB / 4.107 GB, free: 65.75 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.175e-05/10.43, allocations: 15.92 kB / 4.107 GB, free: 65.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000283/10.43, allocations: 0.5952 MB / 4.108 GB, free: 65.11 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/10.43, allocations: 0 / 4.108 GB, free: 65.11 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/10.44, allocations: 1.788 MB / 4.11 GB, free: 63.21 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008142/10.44, allocations: 335.1 kB / 4.11 GB, free: 62.86 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003941/10.44, allocations: 8 kB / 4.11 GB, free: 62.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/10.44, allocations: 127.1 kB / 4.11 GB, free: 62.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/10.44, allocations: 56.44 kB / 4.11 GB, free: 62.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-05/10.44, allocations: 35.98 kB / 4.11 GB, free: 62.64 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001088/10.44, allocations: 0.7072 MB / 4.111 GB, free: 61.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/10.44, allocations: 0 / 4.111 GB, free: 61.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003173/10.44, allocations: 0.9625 MB / 4.112 GB, free: 60.97 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005354/10.45, allocations: 5.423 MB / 4.117 GB, free: 55.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002104/10.45, allocations: 1.58 MB / 4.119 GB, free: 53.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/10.45, allocations: 3.938 kB / 4.119 GB, free: 53.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005449/10.45, allocations: 495 kB / 4.119 GB, free: 53.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003289/10.46, allocations: 0.6964 MB / 4.12 GB, free: 52.47 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006808/10.46, allocations: 2.83 MB / 4.122 GB, free: 49.55 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007213/10.46, allocations: 1.365 MB / 4.124 GB, free: 48.15 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001995/10.47, allocations: 455 kB / 4.124 GB, free: 47.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006567/10.47, allocations: 0.6008 MB / 4.125 GB, free: 47.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.603e-06/10.47, allocations: 0 / 4.125 GB, free: 47.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08883/10.55, allocations: 55.84 MB / 4.179 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/10.56, allocations: 186 kB / 4.179 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.957/14.51, allocations: 0 / 4.179 GB, free: 7.277 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)