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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 108.5 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 193 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 292.3 MB / 0.5492 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001353, allocations: 68.42 kB / 0.6716 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2347, allocations: 114.5 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.7199/0.9546, allocations: 252.7 MB / 1.03 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01705/0.9717, allocations: 9.463 MB / 1.04 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004015/0.9758, allocations: 71.38 kB / 1.04 GB, free: 3.305 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00306/0.9789, allocations: 0.8544 MB / 1.04 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.008635/0.9876, allocations: 2.474 MB / 1.043 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006105/0.9937, allocations: 1.992 MB / 1.045 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006569/1, allocations: 4.139 MB / 1.049 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002662/1.003, allocations: 1.654 MB / 1.05 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004806/1.008, allocations: 1.995 MB / 1.052 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003554/1.011, allocations: 1.392 MB / 1.054 GB, free: 9.969 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003967/1.012, allocations: 181.8 kB / 1.054 GB, free: 9.969 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006369/1.018, allocations: 3.195 MB / 1.057 GB, free: 8.199 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0009537/1.019, allocations: 0.6046 MB / 1.058 GB, free: 7.754 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001836/1.021, allocations: 1.032 MB / 1.059 GB, free: 7.051 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004887/1.026, allocations: 2.741 MB / 1.061 GB, free: 5.297 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.026, allocations: 8 kB / 1.061 GB, free: 5.289 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.106e-06/1.026, allocations: 2.938 kB / 1.061 GB, free: 5.289 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.833e-05/1.026, allocations: 0 / 1.061 GB, free: 5.289 MB / 0.7637 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.004435/1.03, allocations: 2.474 MB / 1.064 GB, free: 3.426 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.03, allocations: 10.44 kB / 1.064 GB, free: 3.426 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003758/1.034, allocations: 0.6093 MB / 1.064 GB, free: 3.145 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/1.037, allocations: 1.361 MB / 1.066 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003655/1.037, allocations: 150.8 kB / 1.066 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002706/1.038, allocations: 132.3 kB / 1.066 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/1.04, allocations: 1.445 MB / 1.067 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/1.041, allocations: 7.938 kB / 1.067 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/1.041, allocations: 44 kB / 1.067 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/1.041, allocations: 42.27 kB / 1.067 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/1.043, allocations: 1.203 MB / 1.069 GB, free: 15.16 MB / 0.7794 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.008347/1.052, allocations: 5.766 MB / 1.074 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/1.053, allocations: 0.984 MB / 1.075 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009602/1.054, allocations: 0.5101 MB / 1.076 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005961/1.055, allocations: 323.9 kB / 1.076 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/1.056, allocations: 0.548 MB / 1.077 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=79): time 3.346e-06/1.056, allocations: 3.938 kB / 1.077 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of matching and sorting (n=79): time 0.004183/1.06, allocations: 1.626 MB / 1.078 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/1.06, allocations: 101.6 kB / 1.078 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/1.062, allocations: 1.326 MB / 1.08 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001305/1.062, allocations: 49.69 kB / 1.08 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005652/1.063, allocations: 0.74 MB / 1.08 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/1.063, allocations: 272.1 kB / 1.081 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/1.063, allocations: 190.4 kB / 1.081 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.064, allocations: 341.9 kB / 1.081 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008929/1.064, allocations: 424.6 kB / 1.082 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/1.065, allocations: 0.6653 MB / 1.082 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/1.067, allocations: 1.084 MB / 1.083 GB, free: 15.53 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.067, allocations: 0 / 1.083 GB, free: 15.53 MB / 0.795 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003077/1.07, allocations: 1.357 MB / 1.085 GB, free: 14.16 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/1.071, allocations: 44.81 kB / 1.085 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/1.071, allocations: 4 kB / 1.085 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004306/1.071, allocations: 81.19 kB / 1.085 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009062/1.072, allocations: 207.7 kB / 1.085 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004601/1.072, allocations: 0.5952 MB / 1.085 GB, free: 13.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/1.074, allocations: 198.8 kB / 1.086 GB, free: 13 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.513e-05/1.074, allocations: 35.98 kB / 1.086 GB, free: 12.97 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001485/1.076, allocations: 0.7283 MB / 1.086 GB, free: 12.24 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001036/1.077, allocations: 0.6613 MB / 1.087 GB, free: 11.48 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001908/1.079, allocations: 1.068 MB / 1.088 GB, free: 10.33 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.008e-06/1.079, allocations: 4 kB / 1.088 GB, free: 10.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.002796/1.082, allocations: 1.326 MB / 1.089 GB, free: 8.98 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/1.082, allocations: 45.64 kB / 1.089 GB, free: 8.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.082, allocations: 4 kB / 1.089 GB, free: 8.926 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/1.082, allocations: 48.83 kB / 1.089 GB, free: 8.875 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000919/1.083, allocations: 211.7 kB / 1.09 GB, free: 8.668 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/1.084, allocations: 1.779 MB / 1.091 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/1.086, allocations: 175.2 kB / 1.092 GB, free: 6.566 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.871e-05/1.086, allocations: 43.98 kB / 1.092 GB, free: 6.523 MB / 0.795 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 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003824/1.087, allocations: 265.8 kB / 1.092 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/1.087, allocations: 162 kB / 1.092 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/1.09, allocations: 1.175 MB / 1.093 GB, free: 4.891 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/1.09, allocations: 8 kB / 1.093 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/1.09, allocations: 0 / 1.093 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001973/1.092, allocations: 1.069 MB / 1.094 GB, free: 3.773 MB / 0.795 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.005069/1.097, allocations: 2.792 MB / 1.097 GB, free: 0.875 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/1.097, allocations: 7.875 kB / 1.097 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009346/1.098, allocations: 167.9 kB / 1.097 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/1.098, allocations: 48.84 kB / 1.097 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.878e-05/1.098, allocations: 23.98 kB / 1.097 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004295/1.098, allocations: 0.5874 MB / 1.098 GB, free: 16 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.098, allocations: 4 kB / 1.098 GB, free: 12 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003541/1.102, allocations: 1.851 MB / 1.1 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007642/1.103, allocations: 339 kB / 1.1 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/1.103, allocations: 27.94 kB / 1.1 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.104, allocations: 103.8 kB / 1.1 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.104, allocations: 48.5 kB / 1.1 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.778e-05/1.104, allocations: 35.97 kB / 1.1 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001275/1.106, allocations: 0.8979 MB / 1.101 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.1e-07/1.106, allocations: 4 kB / 1.101 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002169/1.108, allocations: 0.791 MB / 1.102 GB, free: 11.85 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007355/1.108, allocations: 298.7 kB / 1.102 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004263/1.113, allocations: 1.968 MB / 1.104 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.113, allocations: 0 / 1.104 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/1.114, allocations: 0.5656 MB / 1.105 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003511/1.117, allocations: 0.7973 MB / 1.105 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007894/1.125, allocations: 3.865 MB / 1.109 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009077/1.126, allocations: 1.324 MB / 1.11 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/1.127, allocations: 119.4 kB / 1.11 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of SimCode: time 1.283e-06/1.127, allocations: 0 / 1.11 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of Templates: time 0.04613/1.173, allocations: 32.02 MB / 1.142 GB, free: 2.941 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile (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 & ./Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)