Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.435/2.435, allocations: 248.5 MB / 261.1 MB, free: 5.973 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.00149/0.00149, allocations: 183.3 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.2 MB / 0.571 GB, free: 11.85 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.001144/0.001144, allocations: 96.73 kB / 0.6754 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.048e-05/4.055e-05, allocations: 0 / 0.7869 GB, free: 97.85 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1974, allocations: 106.2 MB / 0.8907 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.086/7.283, allocations: 2.205 GB / 3.096 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/7.283, allocations: 91.08 kB / 3.096 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.306/12.59, allocations: 1.006 GB / 4.102 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.114e-06/12.59, allocations: 0 / 4.102 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.00032/12.59, allocations: 44 kB / 4.102 GB, free: 123.8 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.006578/12.6, allocations: 2.072 MB / 4.104 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/12.6, allocations: 8.031 kB / 4.104 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005793/12.6, allocations: 181.5 kB / 4.104 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005756/12.6, allocations: 0.5946 MB / 4.104 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005248/12.61, allocations: 1.442 MB / 4.106 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006617/12.61, allocations: 164 kB / 4.106 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004067/12.61, allocations: 128 kB / 4.106 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005781/12.62, allocations: 1.365 MB / 4.107 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.088e-05/12.62, allocations: 0 / 4.107 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003729/12.62, allocations: 56 kB / 4.108 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.731e-05/12.62, allocations: 46.23 kB / 4.108 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005202/12.62, allocations: 1.048 MB / 4.109 GB, free: 116.5 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.02044/12.64, allocations: 6.014 MB / 4.114 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00233/12.64, allocations: 0.8813 MB / 4.115 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/12.65, allocations: 455.6 kB / 4.116 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009249/12.65, allocations: 308 kB / 4.116 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001447/12.65, allocations: 0.499 MB / 4.117 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=79): time 5.19e-06/12.65, allocations: 0 / 4.117 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=79): time 0.004012/12.65, allocations: 1.012 MB / 4.118 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.608e-05/12.65, allocations: 200.6 kB / 4.118 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003044/12.66, allocations: 1.142 MB / 4.119 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002935/12.66, allocations: 41.7 kB / 4.119 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009934/12.66, allocations: 0.7519 MB / 4.12 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004461/12.66, allocations: 272 kB / 4.12 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/12.66, allocations: 16 kB / 4.12 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000113/12.66, allocations: 337.9 kB / 4.12 GB, free: 104 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/12.66, allocations: 329.9 kB / 4.121 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/12.66, allocations: 0.5857 MB / 4.121 GB, free: 103 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/12.66, allocations: 421.8 kB / 4.122 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/12.66, allocations: 0 / 4.122 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004717/12.67, allocations: 1.149 MB / 4.123 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005387/12.67, allocations: 1.754 MB / 4.124 GB, free: 99.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/12.67, allocations: 4 kB / 4.124 GB, free: 99.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004214/12.67, allocations: 60.75 kB / 4.124 GB, free: 99.47 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/12.67, allocations: 199.7 kB / 4.125 GB, free: 99.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007188/12.67, allocations: 0.5914 MB / 4.125 GB, free: 98.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004199/12.67, allocations: 191 kB / 4.125 GB, free: 98.47 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003087/12.68, allocations: 39.98 kB / 4.125 GB, free: 98.43 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/12.68, allocations: 4 kB / 4.125 GB, free: 98.43 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003943/12.68, allocations: 0.9932 MB / 4.126 GB, free: 97.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/12.68, allocations: 4 kB / 4.126 GB, free: 97.42 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002964/12.68, allocations: 52.83 kB / 4.126 GB, free: 97.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/12.68, allocations: 199.7 kB / 4.127 GB, free: 97.17 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/12.68, allocations: 1.592 MB / 4.128 GB, free: 95.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003986/12.69, allocations: 187.2 kB / 4.128 GB, free: 95.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/12.69, allocations: 35.98 kB / 4.128 GB, free: 95.21 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.0005421/12.69, allocations: 202.4 kB / 4.129 GB, free: 95 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005839/12.69, allocations: 166 kB / 4.129 GB, free: 94.84 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004244/12.69, allocations: 1.081 MB / 4.13 GB, free: 93.73 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/12.69, allocations: 4 kB / 4.13 GB, free: 93.73 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/12.69, allocations: 4 kB / 4.13 GB, free: 93.73 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003298/12.7, allocations: 0.9583 MB / 4.131 GB, free: 92.73 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.01006/12.71, allocations: 2.755 MB / 4.133 GB, free: 89.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/12.71, allocations: 0 / 4.133 GB, free: 89.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002553/12.71, allocations: 184 kB / 4.134 GB, free: 89.69 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003547/12.71, allocations: 48.84 kB / 4.134 GB, free: 89.64 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000218/12.71, allocations: 27.94 kB / 4.134 GB, free: 89.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005836/12.71, allocations: 0.5875 MB / 4.134 GB, free: 89 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/12.71, allocations: 7.938 kB / 4.134 GB, free: 88.99 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006049/12.72, allocations: 1.852 MB / 4.136 GB, free: 87.02 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002121/12.72, allocations: 350.9 kB / 4.136 GB, free: 86.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009961/12.72, allocations: 27.98 kB / 4.136 GB, free: 86.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003984/12.73, allocations: 131.7 kB / 4.137 GB, free: 86.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003566/12.73, allocations: 48.5 kB / 4.137 GB, free: 86.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002233/12.73, allocations: 47.3 kB / 4.137 GB, free: 86.41 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003321/12.73, allocations: 0.8817 MB / 4.137 GB, free: 85.54 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.493e-06/12.73, allocations: 4 kB / 4.137 GB, free: 85.53 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007229/12.74, allocations: 1.029 MB / 4.139 GB, free: 84.5 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.01173/12.75, allocations: 5.193 MB / 4.144 GB, free: 79.12 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004095/12.75, allocations: 1.654 MB / 4.145 GB, free: 77.43 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/12.75, allocations: 0.5625 kB / 4.145 GB, free: 77.43 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/12.75, allocations: 0.514 MB / 4.146 GB, free: 76.91 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007017/12.76, allocations: 0.8046 MB / 4.146 GB, free: 76.11 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/12.77, allocations: 2.927 MB / 4.149 GB, free: 73.13 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009847/12.77, allocations: 1.373 MB / 4.151 GB, free: 71.72 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003817/12.78, allocations: 0.5026 MB / 4.151 GB, free: 71.23 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/12.78, allocations: 0.6039 MB / 4.152 GB, free: 70.63 MB / 0.8855 GB Notification: Performance of SimCode: time 1.052e-06/12.78, allocations: 0 / 4.152 GB, free: 70.63 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1793/12.96, allocations: 83.26 MB / 4.233 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003556/12.96, allocations: 217.7 kB / 4.233 GB, free: 3.309 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.383/19.34, allocations: 3.938 kB / 4.233 GB, free: 3.305 MB / 0.9011 GB