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 2.806/2.806, allocations: 287.5 MB / 302.4 MB, free: 8.344 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.001344/0.001344, allocations: 178 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.197/2.197, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009451/0.0009451, allocations: 90.94 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.000491, allocations: 11.12 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2272, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 1.408/1.635, allocations: 233.4 MB / 1.206 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.03134/1.666, allocations: 8.982 MB / 1.215 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004305/1.671, allocations: 66 kB / 1.215 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004722/1.676, allocations: 0.629 MB / 1.216 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01332/1.689, allocations: 1.937 MB / 1.218 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01078/1.7, allocations: 1.546 MB / 1.219 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01221/1.712, allocations: 4.65 MB / 1.224 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00439/1.717, allocations: 1.156 MB / 1.225 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007694/1.724, allocations: 1.588 MB / 1.226 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004557/1.729, allocations: 1.179 MB / 1.227 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0009111/1.73, allocations: 67.94 kB / 1.228 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01059/1.741, allocations: 1.847 MB / 1.229 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001757/1.742, allocations: 478.2 kB / 1.23 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001647/1.744, allocations: 400.7 kB / 1.23 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.008646/1.753, allocations: 2.502 MB / 1.233 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/1.753, allocations: 0 / 1.233 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.377e-06/1.753, allocations: 0 / 1.233 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.921e-05/1.753, allocations: 4 kB / 1.233 GB, free: 7.57 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.009062/1.762, allocations: 2.141 MB / 1.235 GB, free: 5.352 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/1.762, allocations: 16.03 kB / 1.235 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008985/1.771, allocations: 0.6259 MB / 1.235 GB, free: 4.707 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006565/1.778, allocations: 1.318 MB / 1.237 GB, free: 3.336 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001043/1.779, allocations: 170.1 kB / 1.237 GB, free: 3.168 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006251/1.78, allocations: 124 kB / 1.237 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007167/1.787, allocations: 1.444 MB / 1.238 GB, free: 1.535 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.605e-05/1.787, allocations: 0 / 1.238 GB, free: 1.535 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003/1.787, allocations: 48 kB / 1.238 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/1.787, allocations: 50.25 kB / 1.238 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007378/1.795, allocations: 1.211 MB / 1.24 GB, free: 224 kB / 0.7605 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.02012/1.815, allocations: 5.782 MB / 1.245 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004581/1.82, allocations: 0.9942 MB / 1.246 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00265/1.822, allocations: 0.5188 MB / 1.247 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/1.824, allocations: 327.9 kB / 1.247 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002531/1.826, allocations: 0.552 MB / 1.248 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=79): time 4.508e-06/1.826, allocations: 0 / 1.248 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of matching and sorting (n=79): time 0.007281/1.834, allocations: 1.671 MB / 1.249 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/1.834, allocations: 85.77 kB / 1.249 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002933/1.837, allocations: 1.31 MB / 1.251 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002214/1.837, allocations: 49.64 kB / 1.251 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/1.838, allocations: 0.7439 MB / 1.251 GB, free: 3.664 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004609/1.838, allocations: 272 kB / 1.252 GB, free: 3.395 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.4e-05/1.839, allocations: 20 kB / 1.252 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001916/1.839, allocations: 341.9 kB / 1.252 GB, free: 3.035 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/1.84, allocations: 417.8 kB / 1.252 GB, free: 2.625 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/1.843, allocations: 0.6614 MB / 1.253 GB, free: 1.867 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/1.844, allocations: 0.5083 MB / 1.254 GB, free: 1.355 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/1.844, allocations: 4 kB / 1.254 GB, free: 1.352 MB / 0.7761 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005274/1.85, allocations: 1.365 MB / 1.255 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002807/1.85, allocations: 276 kB / 1.255 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/1.85, allocations: 12 kB / 1.255 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006303/1.851, allocations: 76.8 kB / 1.255 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/1.853, allocations: 211.7 kB / 1.255 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006851/1.853, allocations: 0.5952 MB / 1.256 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/1.856, allocations: 200.5 kB / 1.256 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/1.856, allocations: 43.98 kB / 1.256 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/1.856, allocations: 4 kB / 1.256 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00446/1.861, allocations: 1.193 MB / 1.257 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/1.861, allocations: 8.094 kB / 1.257 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002476/1.861, allocations: 52.78 kB / 1.257 GB, free: 13.19 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/1.863, allocations: 215.6 kB / 1.258 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/1.865, allocations: 1.603 MB / 1.259 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002779/1.868, allocations: 191 kB / 1.259 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/1.869, allocations: 39.98 kB / 1.259 GB, free: 11 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.001303/1.87, allocations: 0.4954 MB / 1.26 GB, free: 10.49 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005008/1.87, allocations: 158.1 kB / 1.26 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004541/1.875, allocations: 1.203 MB / 1.261 GB, free: 9.113 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/1.875, allocations: 8 kB / 1.261 GB, free: 9.105 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.875, allocations: 7.953 kB / 1.261 GB, free: 9.098 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003872/1.879, allocations: 1.065 MB / 1.262 GB, free: 7.992 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.00882/1.888, allocations: 2.811 MB / 1.265 GB, free: 5.074 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.888, allocations: 4 kB / 1.265 GB, free: 5.07 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/1.89, allocations: 172 kB / 1.265 GB, free: 4.902 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002559/1.89, allocations: 44.84 kB / 1.265 GB, free: 4.855 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/1.89, allocations: 19.98 kB / 1.265 GB, free: 4.836 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006216/1.891, allocations: 0.5952 MB / 1.266 GB, free: 4.215 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.891, allocations: 4 kB / 1.266 GB, free: 4.211 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006479/1.897, allocations: 1.882 MB / 1.268 GB, free: 2.273 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.898, allocations: 338.9 kB / 1.268 GB, free: 1.922 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003566/1.899, allocations: 23.95 kB / 1.268 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/1.901, allocations: 109 kB / 1.268 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/1.901, allocations: 48.5 kB / 1.268 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/1.901, allocations: 27.98 kB / 1.268 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00219/1.903, allocations: 0.8939 MB / 1.269 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.81e-07/1.903, allocations: 0 / 1.269 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00359/1.907, allocations: 0.7949 MB / 1.27 GB, free: 32 kB / 0.7917 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.0009835/1.908, allocations: 291.8 kB / 1.27 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006864/1.915, allocations: 1.906 MB / 1.272 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/1.915, allocations: 0 / 1.272 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002032/1.917, allocations: 0.5734 MB / 1.273 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007098/1.924, allocations: 0.7999 MB / 1.273 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/1.937, allocations: 3.811 MB / 1.277 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/1.939, allocations: 1.328 MB / 1.278 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002754/1.942, allocations: 368.4 kB / 1.279 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005434/1.942, allocations: 103.4 kB / 1.279 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of SimCode: time 1.743e-06/1.942, allocations: 0 / 1.279 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of Templates: time 0.09482/2.037, allocations: 26.51 MB / 1.305 GB, free: 12.48 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)