Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.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.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.497/1.497, allocations: 249.3 MB / 261.8 MB, free: 5.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 174.1 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.1 MB / 0.572 GB, free: 10.66 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.0008208/0.0008209, allocations: 84.55 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.243e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2043, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.359/6.564, allocations: 2.205 GB / 3.097 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/6.564, allocations: 91.94 kB / 3.097 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.809/10.37, allocations: 1.006 GB / 4.103 GB, free: 116 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.343e-06/10.37, allocations: 4 kB / 4.103 GB, free: 116 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001501/10.37, allocations: 47.98 kB / 4.103 GB, free: 116 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.004373/10.38, allocations: 2.069 MB / 4.105 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/10.38, allocations: 8.031 kB / 4.105 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002325/10.38, allocations: 181.5 kB / 4.105 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003341/10.38, allocations: 0.5946 MB / 4.106 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/10.38, allocations: 1.445 MB / 4.107 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003363/10.38, allocations: 158.3 kB / 4.107 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/10.38, allocations: 121.2 kB / 4.107 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/10.39, allocations: 1.377 MB / 4.109 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/10.39, allocations: 3.938 kB / 4.109 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/10.39, allocations: 55.88 kB / 4.109 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.331e-05/10.39, allocations: 50.23 kB / 4.109 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/10.39, allocations: 1.04 MB / 4.11 GB, free: 108.7 MB / 0.8855 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.01216/10.4, allocations: 6.021 MB / 4.116 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/10.4, allocations: 0.8884 MB / 4.117 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007838/10.4, allocations: 451.6 kB / 4.117 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006828/10.4, allocations: 312 kB / 4.117 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009803/10.41, allocations: 0.499 MB / 4.118 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=79): time 7.013e-06/10.41, allocations: 0 / 4.118 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=79): time 0.003089/10.41, allocations: 1.012 MB / 4.119 GB, free: 99.04 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.616e-05/10.41, allocations: 196.7 kB / 4.119 GB, free: 98.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/10.41, allocations: 1.142 MB / 4.12 GB, free: 97.66 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000178/10.41, allocations: 41.7 kB / 4.12 GB, free: 97.61 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006329/10.41, allocations: 0.7443 MB / 4.121 GB, free: 96.86 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/10.41, allocations: 272 kB / 4.121 GB, free: 96.59 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/10.41, allocations: 19.94 kB / 4.121 GB, free: 96.57 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.116e-05/10.41, allocations: 341.9 kB / 4.122 GB, free: 96.23 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/10.41, allocations: 325.9 kB / 4.122 GB, free: 95.91 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/10.41, allocations: 0.578 MB / 4.122 GB, free: 95.23 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005486/10.41, allocations: 433.6 kB / 4.123 GB, free: 94.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/10.41, allocations: 0 / 4.123 GB, free: 94.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002426/10.42, allocations: 1.133 MB / 4.124 GB, free: 93.65 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004623/10.42, allocations: 1.748 MB / 4.126 GB, free: 91.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/10.42, allocations: 7.5 kB / 4.126 GB, free: 91.74 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/10.42, allocations: 56.77 kB / 4.126 GB, free: 91.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/10.42, allocations: 203.8 kB / 4.126 GB, free: 91.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004591/10.42, allocations: 0.5953 MB / 4.127 GB, free: 90.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/10.42, allocations: 191.1 kB / 4.127 GB, free: 90.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/10.42, allocations: 43.98 kB / 4.127 GB, free: 90.63 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/10.42, allocations: 5.562 kB / 4.127 GB, free: 90.63 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002193/10.42, allocations: 0.9929 MB / 4.128 GB, free: 89.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/10.42, allocations: 8 kB / 4.128 GB, free: 89.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/10.42, allocations: 48.83 kB / 4.128 GB, free: 89.56 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/10.42, allocations: 204 kB / 4.128 GB, free: 89.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/10.43, allocations: 1.584 MB / 4.13 GB, free: 87.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/10.43, allocations: 187.1 kB / 4.13 GB, free: 87.44 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/10.43, allocations: 44.17 kB / 4.13 GB, free: 87.39 MB / 0.8855 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.000433/10.43, allocations: 189.1 kB / 4.13 GB, free: 87.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005539/10.43, allocations: 166.1 kB / 4.13 GB, free: 87.04 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/10.43, allocations: 1.081 MB / 4.131 GB, free: 85.93 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/10.43, allocations: 11.89 kB / 4.131 GB, free: 85.93 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/10.43, allocations: 0 / 4.131 GB, free: 85.93 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001774/10.43, allocations: 0.9745 MB / 4.132 GB, free: 84.91 MB / 0.8855 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.005816/10.44, allocations: 2.739 MB / 4.135 GB, free: 82.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/10.44, allocations: 3.984 kB / 4.135 GB, free: 82.06 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/10.44, allocations: 184 kB / 4.135 GB, free: 81.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001696/10.44, allocations: 56.77 kB / 4.135 GB, free: 81.82 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.499e-05/10.44, allocations: 31.94 kB / 4.135 GB, free: 81.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003034/10.44, allocations: 0.5797 MB / 4.136 GB, free: 81.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/10.44, allocations: 4 kB / 4.136 GB, free: 81.18 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/10.44, allocations: 1.848 MB / 4.137 GB, free: 79.22 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008831/10.44, allocations: 362.9 kB / 4.138 GB, free: 78.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/10.45, allocations: 20 kB / 4.138 GB, free: 78.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/10.45, allocations: 139.2 kB / 4.138 GB, free: 78.69 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/10.45, allocations: 48.5 kB / 4.138 GB, free: 78.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.862e-05/10.45, allocations: 39.98 kB / 4.138 GB, free: 78.61 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001266/10.45, allocations: 0.8895 MB / 4.139 GB, free: 77.72 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.41e-07/10.45, allocations: 0 / 4.139 GB, free: 77.72 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003513/10.45, allocations: 1.026 MB / 4.14 GB, free: 76.69 MB / 0.8855 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.005803/10.46, allocations: 5.189 MB / 4.145 GB, free: 71.33 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002536/10.46, allocations: 1.658 MB / 4.147 GB, free: 69.64 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/10.46, allocations: 4 kB / 4.147 GB, free: 69.63 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006005/10.46, allocations: 0.5022 MB / 4.147 GB, free: 69.12 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003993/10.46, allocations: 0.8241 MB / 4.148 GB, free: 68.31 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008183/10.47, allocations: 2.931 MB / 4.151 GB, free: 65.32 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008387/10.47, allocations: 1.366 MB / 4.152 GB, free: 63.92 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002412/10.48, allocations: 0.4982 MB / 4.153 GB, free: 63.43 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007309/10.48, allocations: 0.6086 MB / 4.153 GB, free: 62.82 MB / 0.8855 GB Notification: Performance of SimCode: time 1.362e-06/10.48, allocations: 0 / 4.153 GB, free: 62.82 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6837/11.16, allocations: 83.26 MB / 4.234 GB, free: 153.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/11.16, allocations: 226.2 kB / 4.235 GB, free: 153.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.517/16.68, allocations: 3.938 kB / 4.235 GB, free: 153.4 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Humidifiers_Examples_Humidifier_u.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)