Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.625/1.625, allocations: 287.5 MB / 302.6 MB, free: 8.348 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.0009445/0.0009444, allocations: 181.9 kB / 371.2 MB, free: 10.84 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.4/1.4, allocations: 205.4 MB / 0.6299 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009127/0.0009125, allocations: 92.53 kB / 0.7432 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 14.34 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2011, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.7005/0.9016, allocations: 233.4 MB / 1.207 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01654/0.9182, allocations: 8.974 MB / 1.215 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003199/0.9215, allocations: 67.53 kB / 1.215 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002711/0.9242, allocations: 0.6301 MB / 1.216 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006792/0.931, allocations: 1.939 MB / 1.218 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00495/0.936, allocations: 1.537 MB / 1.219 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006279/0.9423, allocations: 4.69 MB / 1.224 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002819/0.9451, allocations: 1.373 MB / 1.225 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004654/0.9498, allocations: 1.581 MB / 1.227 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.9522, allocations: 1.182 MB / 1.228 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004855/0.9527, allocations: 68 kB / 1.228 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005281/0.958, allocations: 1.844 MB / 1.23 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0009771/0.959, allocations: 478.3 kB / 1.23 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0009447/0.96, allocations: 392.7 kB / 1.231 GB, free: 9.684 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004419/0.9644, allocations: 2.521 MB / 1.233 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.9645, allocations: 0 / 1.233 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9645, allocations: 0 / 1.233 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001095/0.9646, allocations: 0 / 1.233 GB, free: 7.16 MB / 0.7605 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.00473/0.9693, allocations: 2.122 MB / 1.235 GB, free: 4.961 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.9694, allocations: 12.03 kB / 1.235 GB, free: 4.949 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003684/0.9731, allocations: 0.6259 MB / 1.236 GB, free: 4.32 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/0.9764, allocations: 1.383 MB / 1.237 GB, free: 2.883 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003979/0.9769, allocations: 166.1 kB / 1.237 GB, free: 2.719 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003637/0.9772, allocations: 131.8 kB / 1.238 GB, free: 2.59 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00312/0.9804, allocations: 1.44 MB / 1.239 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.9804, allocations: 11.88 kB / 1.239 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.9806, allocations: 47.98 kB / 1.239 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-05/0.9806, allocations: 42.27 kB / 1.239 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002697/0.9833, allocations: 1.211 MB / 1.24 GB, free: 15.76 MB / 0.7761 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.008816/0.9922, allocations: 5.786 MB / 1.246 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.994, allocations: 0.9943 MB / 1.247 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000989/0.995, allocations: 0.5264 MB / 1.247 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006065/0.9956, allocations: 331.9 kB / 1.248 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/0.9968, allocations: 0.552 MB / 1.248 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=79): time 3.105e-06/0.9968, allocations: 0 / 1.248 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of matching and sorting (n=79): time 0.004144/1.001, allocations: 1.652 MB / 1.25 GB, free: 5.445 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/1.001, allocations: 89.7 kB / 1.25 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/1.003, allocations: 1.314 MB / 1.251 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/1.003, allocations: 41.7 kB / 1.251 GB, free: 3.969 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006312/1.004, allocations: 0.7478 MB / 1.252 GB, free: 3.211 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/1.004, allocations: 272.1 kB / 1.252 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/1.004, allocations: 16 kB / 1.252 GB, free: 2.926 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.004, allocations: 345.9 kB / 1.253 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009251/1.005, allocations: 421.8 kB / 1.253 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/1.006, allocations: 0.6574 MB / 1.254 GB, free: 1.414 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/1.008, allocations: 1.099 MB / 1.255 GB, free: 240 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.008, allocations: 4 kB / 1.255 GB, free: 236 kB / 0.7761 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002807/1.011, allocations: 1.361 MB / 1.256 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001753/1.011, allocations: 280.4 kB / 1.256 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.011, allocations: 4 kB / 1.256 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003801/1.012, allocations: 84.73 kB / 1.256 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009283/1.013, allocations: 211.7 kB / 1.257 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004319/1.013, allocations: 0.5991 MB / 1.257 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/1.015, allocations: 194.9 kB / 1.257 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.621e-05/1.015, allocations: 39.98 kB / 1.257 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/1.015, allocations: 4 kB / 1.257 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002344/1.017, allocations: 1.201 MB / 1.259 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.017, allocations: 8 kB / 1.259 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/1.017, allocations: 52.77 kB / 1.259 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000884/1.018, allocations: 216 kB / 1.259 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/1.02, allocations: 1.596 MB / 1.26 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/1.021, allocations: 191.5 kB / 1.261 GB, free: 9.93 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-05/1.021, allocations: 43.98 kB / 1.261 GB, free: 9.887 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (108): * Single equations (assignments): 104 * Array equations: 2 * 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.0007657/1.022, allocations: 0.4907 MB / 1.261 GB, free: 9.379 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000299/1.022, allocations: 154.1 kB / 1.261 GB, free: 9.227 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002558/1.025, allocations: 1.21 MB / 1.262 GB, free: 7.988 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/1.025, allocations: 11.98 kB / 1.262 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/1.025, allocations: 0 / 1.262 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001968/1.027, allocations: 1.069 MB / 1.263 GB, free: 6.871 MB / 0.7917 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.005046/1.032, allocations: 2.823 MB / 1.266 GB, free: 3.938 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.032, allocations: 0 / 1.266 GB, free: 3.938 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009017/1.033, allocations: 176 kB / 1.266 GB, free: 3.766 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001525/1.033, allocations: 40.84 kB / 1.266 GB, free: 3.723 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.225e-05/1.033, allocations: 31.98 kB / 1.266 GB, free: 3.691 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003898/1.033, allocations: 0.5913 MB / 1.267 GB, free: 3.074 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.033, allocations: 0 / 1.267 GB, free: 3.074 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003528/1.037, allocations: 1.867 MB / 1.269 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008538/1.038, allocations: 343 kB / 1.269 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003269/1.038, allocations: 16 kB / 1.269 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/1.039, allocations: 116.9 kB / 1.269 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/1.039, allocations: 44.44 kB / 1.269 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.823e-05/1.04, allocations: 35.98 kB / 1.269 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001722/1.041, allocations: 0.8939 MB / 1.27 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.6e-07/1.041, allocations: 0 / 1.27 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00284/1.044, allocations: 0.791 MB / 1.271 GB, free: 14.91 MB / 0.8073 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.0007866/1.045, allocations: 301.3 kB / 1.271 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004062/1.049, allocations: 1.898 MB / 1.273 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.049, allocations: 4 kB / 1.273 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/1.05, allocations: 0.5657 MB / 1.274 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00477/1.055, allocations: 0.7773 MB / 1.275 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009059/1.064, allocations: 3.826 MB / 1.278 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/1.065, allocations: 1.331 MB / 1.28 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001928/1.067, allocations: 368.4 kB / 1.28 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/1.068, allocations: 103.4 kB / 1.28 GB, free: 5.609 MB / 0.8073 GB Notification: Performance of SimCode: time 8.61e-07/1.068, allocations: 0 / 1.28 GB, free: 5.609 MB / 0.8073 GB Notification: Performance of Templates: time 0.04612/1.114, allocations: 26.54 MB / 1.306 GB, free: 11.33 MB / 0.8386 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)