Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_8_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001297/0.001297, allocations: 189 kB / 377.1 MB, free: 1.531 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.933/1.933, allocations: 205.4 MB / 0.6366 GB, free: 9.57 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.0009854/0.0009853, allocations: 94.75 kB / 0.7509 GB, free: 62.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004464/0.0004463, allocations: 12 kB / 0.8749 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.286, allocations: 116.3 MB / 0.9884 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.815/6.101, allocations: 2.088 GB / 3.077 GB, free: 131.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003628/6.102, allocations: 93.39 kB / 3.077 GB, free: 131.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.523/10.63, allocations: 1.037 GB / 4.114 GB, free: 141.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.735e-06/10.63, allocations: 0 / 4.114 GB, free: 141.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001974/10.63, allocations: 47.67 kB / 4.114 GB, free: 141.6 MB / 0.9636 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.007326/10.63, allocations: 2.375 MB / 4.116 GB, free: 140.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/10.63, allocations: 10.09 kB / 4.116 GB, free: 140.3 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005033/10.63, allocations: 180.3 kB / 4.116 GB, free: 140.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004117/10.64, allocations: 0.6134 MB / 4.117 GB, free: 140.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004362/10.64, allocations: 1.449 MB / 4.118 GB, free: 139.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003871/10.64, allocations: 163.8 kB / 4.118 GB, free: 139.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/10.64, allocations: 126 kB / 4.118 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/10.65, allocations: 1.474 MB / 4.12 GB, free: 139.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/10.65, allocations: 0 / 4.12 GB, free: 139.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/10.65, allocations: 54.34 kB / 4.12 GB, free: 139.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-05/10.65, allocations: 40.61 kB / 4.12 GB, free: 139.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/10.65, allocations: 1.247 MB / 4.121 GB, free: 139.5 MB / 0.9636 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.009587/10.66, allocations: 6.015 MB / 4.127 GB, free: 135.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/10.66, allocations: 1.065 MB / 4.128 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000545/10.66, allocations: 311 kB / 4.128 GB, free: 134.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/10.66, allocations: 0.5995 MB / 4.129 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=79): time 4.979e-06/10.66, allocations: 0 / 4.129 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=79): time 0.004316/10.67, allocations: 1.832 MB / 4.131 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/10.67, allocations: 191.7 kB / 4.131 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/10.67, allocations: 1.144 MB / 4.132 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/10.67, allocations: 44.36 kB / 4.132 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006437/10.67, allocations: 0.7495 MB / 4.133 GB, free: 132.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/10.67, allocations: 275.3 kB / 4.133 GB, free: 132.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/10.67, allocations: 15.81 kB / 4.133 GB, free: 132.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001076/10.67, allocations: 338.7 kB / 4.133 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008561/10.67, allocations: 426.2 kB / 4.134 GB, free: 132 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/10.67, allocations: 0.6863 MB / 4.135 GB, free: 131.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009515/10.67, allocations: 0.5129 MB / 4.135 GB, free: 131.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/10.67, allocations: 3.656 kB / 4.135 GB, free: 131.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002723/10.67, allocations: 1.35 MB / 4.136 GB, free: 130.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005061/10.68, allocations: 1.741 MB / 4.138 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/10.68, allocations: 7.656 kB / 4.138 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/10.68, allocations: 56.05 kB / 4.138 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009026/10.68, allocations: 205.7 kB / 4.138 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003963/10.68, allocations: 0.5915 MB / 4.139 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/10.68, allocations: 186.6 kB / 4.139 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.64e-05/10.68, allocations: 38.53 kB / 4.139 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/10.68, allocations: 3.812 kB / 4.139 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00222/10.68, allocations: 1.198 MB / 4.14 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/10.68, allocations: 3.812 kB / 4.14 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/10.68, allocations: 53.94 kB / 4.14 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008299/10.68, allocations: 203.6 kB / 4.141 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/10.68, allocations: 1.596 MB / 4.142 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/10.69, allocations: 186.9 kB / 4.142 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/10.69, allocations: 41.56 kB / 4.142 GB, free: 126.2 MB / 0.9636 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 () * Number of clocked 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.001251/10.69, allocations: 0.4938 MB / 4.143 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003073/10.69, allocations: 164.5 kB / 4.143 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/10.69, allocations: 1.28 MB / 4.144 GB, free: 125.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/10.69, allocations: 7.719 kB / 4.144 GB, free: 125.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/10.69, allocations: 0 / 4.144 GB, free: 125.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001957/10.69, allocations: 1.145 MB / 4.145 GB, free: 124.8 MB / 0.9636 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 postOpt removeSimpleEquations (simulation): time 0.006199/10.7, allocations: 2.958 MB / 4.148 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/10.7, allocations: 0 / 4.148 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009286/10.7, allocations: 185.6 kB / 4.148 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001559/10.7, allocations: 49.84 kB / 4.148 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.449e-05/10.7, allocations: 30.86 kB / 4.148 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003363/10.7, allocations: 0.5861 MB / 4.149 GB, free: 122.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/10.7, allocations: 7 kB / 4.149 GB, free: 122.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00382/10.7, allocations: 2.136 MB / 4.151 GB, free: 121.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/10.7, allocations: 351.7 kB / 4.151 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004944/10.7, allocations: 21.25 kB / 4.151 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/10.71, allocations: 135.4 kB / 4.152 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/10.71, allocations: 58.42 kB / 4.152 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-05/10.71, allocations: 34.05 kB / 4.152 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001956/10.71, allocations: 0.8964 MB / 4.153 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.61e-07/10.71, allocations: 0 / 4.153 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004608/10.71, allocations: 1.044 MB / 4.154 GB, free: 120.8 MB / 0.9636 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) * Number of clocked states: 0 () * 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.008631/10.72, allocations: 5.508 MB / 4.159 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00391/10.73, allocations: 1.895 MB / 4.161 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/10.73, allocations: 3.281 kB / 4.161 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/10.73, allocations: 0.5984 MB / 4.161 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004423/10.73, allocations: 0.8145 MB / 4.162 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02394/10.76, allocations: 12.77 MB / 4.175 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/10.76, allocations: 1.364 MB / 4.176 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002163/10.76, allocations: 365 kB / 4.176 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/10.76, allocations: 0.6262 MB / 4.177 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of SimCode: time 2.033e-06/10.76, allocations: 4 kB / 4.177 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1294/10.89, allocations: 75.46 MB / 4.251 GB, free: 42.19 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/10.89, allocations: 244.7 kB / 4.251 GB, free: 41.91 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.13/16.02, allocations: 4.062 kB / 4.251 GB, free: 41.91 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Humidifiers_Examples_Humidifier_u.fmu > Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)