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.414/1.414, allocations: 249.5 MB / 257 MB, free: 6.918 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.001104/0.001105, allocations: 165 kB / 316.3 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0008449/0.0008449, allocations: 104.7 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.589e-05/1.577e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2148, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.701/5.916, allocations: 2.206 GB / 3.091 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/5.916, allocations: 89.33 kB / 3.091 GB, free: 159 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.641/9.557, allocations: 0.9947 GB / 4.086 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.623e-06/9.557, allocations: 0 / 4.086 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001579/9.557, allocations: 48.88 kB / 4.086 GB, free: 133.4 MB / 0.8698 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.004085/9.561, allocations: 2.065 MB / 4.088 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/9.562, allocations: 8.688 kB / 4.088 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003309/9.565, allocations: 0.608 MB / 4.088 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/9.568, allocations: 1.44 MB / 4.09 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000336/9.568, allocations: 112.9 kB / 4.09 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/9.568, allocations: 77.78 kB / 4.09 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001692/9.57, allocations: 0.9753 MB / 4.091 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/9.572, allocations: 1.207 MB / 4.092 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/9.572, allocations: 3.219 kB / 4.092 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/9.572, allocations: 1.203 kB / 4.092 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-05/9.572, allocations: 41.88 kB / 4.092 GB, free: 129.4 MB / 0.8698 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.007672/9.58, allocations: 5.77 MB / 4.098 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009632/9.581, allocations: 0.855 MB / 4.099 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/9.581, allocations: 417.9 kB / 4.099 GB, free: 124 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005055/9.582, allocations: 315.3 kB / 4.099 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006132/9.582, allocations: 489.3 kB / 4.1 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=79): time 3.035e-06/9.582, allocations: 3.625 kB / 4.1 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=79): time 0.002129/9.584, allocations: 1.006 MB / 4.101 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/9.584, allocations: 192.7 kB / 4.101 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/9.585, allocations: 0.9298 MB / 4.102 GB, free: 121 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.061e-05/9.586, allocations: 33.39 kB / 4.102 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005221/9.586, allocations: 0.7651 MB / 4.103 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/9.586, allocations: 267.2 kB / 4.103 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/9.586, allocations: 0 / 4.103 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.526e-05/9.586, allocations: 338 kB / 4.103 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/9.587, allocations: 314.5 kB / 4.104 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/9.587, allocations: 0.5622 MB / 4.104 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007125/9.588, allocations: 441 kB / 4.104 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/9.588, allocations: 4 kB / 4.104 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00174/9.59, allocations: 1.091 MB / 4.106 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003546/9.59, allocations: 1.739 MB / 4.107 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/9.59, allocations: 7.953 kB / 4.107 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001736/9.59, allocations: 48.78 kB / 4.107 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000827/9.591, allocations: 198.9 kB / 4.108 GB, free: 115 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003378/9.592, allocations: 0.6051 MB / 4.108 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/9.593, allocations: 156.6 kB / 4.108 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.804e-05/9.593, allocations: 43.98 kB / 4.108 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.677e-06/9.593, allocations: 4 kB / 4.108 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001469/9.595, allocations: 0.9275 MB / 4.109 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/9.595, allocations: 4 kB / 4.109 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001186/9.595, allocations: 47.52 kB / 4.109 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007739/9.596, allocations: 202.7 kB / 4.109 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/9.597, allocations: 1.528 MB / 4.111 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/9.598, allocations: 150.2 kB / 4.111 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.501e-05/9.598, allocations: 36 kB / 4.111 GB, free: 111.2 MB / 0.8698 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.0002759/9.598, allocations: 173 kB / 4.111 GB, free: 111 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001538/9.6, allocations: 0.985 MB / 4.112 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/9.6, allocations: 150.2 kB / 4.112 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/9.602, allocations: 1.027 MB / 4.113 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/9.602, allocations: 8 kB / 4.113 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/9.602, allocations: 0 / 4.113 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001277/9.603, allocations: 0.9409 MB / 4.114 GB, free: 107.9 MB / 0.8698 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.004119/9.607, allocations: 2.567 MB / 4.117 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/9.608, allocations: 4 kB / 4.117 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009136/9.608, allocations: 187.1 kB / 4.117 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001242/9.609, allocations: 40.8 kB / 4.117 GB, free: 105 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.81e-05/9.609, allocations: 19.98 kB / 4.117 GB, free: 105 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003592/9.609, allocations: 0.5796 MB / 4.118 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/9.609, allocations: 7.75 kB / 4.118 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/9.611, allocations: 1.802 MB / 4.119 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006397/9.612, allocations: 343.2 kB / 4.12 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/9.612, allocations: 14.72 kB / 4.12 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/9.613, allocations: 122.5 kB / 4.12 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.976e-05/9.614, allocations: 44.5 kB / 4.12 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.275e-05/9.614, allocations: 35.94 kB / 4.12 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009922/9.615, allocations: 0.7152 MB / 4.121 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.01e-07/9.615, allocations: 0 / 4.121 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00263/9.617, allocations: 0.9539 MB / 4.122 GB, free: 100.2 MB / 0.8698 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.005636/9.623, allocations: 5.396 MB / 4.127 GB, free: 95.01 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002191/9.625, allocations: 1.582 MB / 4.128 GB, free: 93.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/9.625, allocations: 4 kB / 4.128 GB, free: 93.39 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005378/9.626, allocations: 489.3 kB / 4.129 GB, free: 92.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003406/9.629, allocations: 0.694 MB / 4.13 GB, free: 92.22 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006605/9.636, allocations: 2.84 MB / 4.132 GB, free: 89.32 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007299/9.636, allocations: 1.365 MB / 4.134 GB, free: 87.92 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001904/9.638, allocations: 461 kB / 4.134 GB, free: 87.48 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006212/9.639, allocations: 0.5969 MB / 4.135 GB, free: 86.89 MB / 0.8698 GB Notification: Performance of SimCode: time 8.31e-07/9.639, allocations: 0 / 4.135 GB, free: 86.89 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08715/9.726, allocations: 55.83 MB / 4.189 GB, free: 31.53 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/9.726, allocations: 182 kB / 4.189 GB, free: 31.33 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.104/13.83, allocations: 3.938 kB / 4.189 GB, free: 31.33 MB / 0.8698 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)