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.000838/0.0008378, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.0009562/0.0009563, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.4 MB / 222.1 MB, free: 5.621 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.654/1.654, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.0005133/0.0005133, allocations: 17.23 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2308, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Examples.Humidifier_u): time 0.6614/0.8923, allocations: 233.4 MB / 1.015 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01619/0.9085, allocations: 8.979 MB / 1.024 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003263/0.9118, allocations: 65.16 kB / 1.024 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.914, allocations: 0.6352 MB / 1.025 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006131/0.9202, allocations: 1.94 MB / 1.027 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004482/0.9247, allocations: 1.538 MB / 1.028 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005517/0.9302, allocations: 4.656 MB / 1.033 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/0.9321, allocations: 1.156 MB / 1.034 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004233/0.9364, allocations: 1.574 MB / 1.035 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002063/0.9384, allocations: 1.183 MB / 1.036 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.9387, allocations: 60.5 kB / 1.036 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004296/0.943, allocations: 1.853 MB / 1.038 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006032/0.9436, allocations: 478.4 kB / 1.039 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006309/0.9442, allocations: 402.9 kB / 1.039 GB, free: 6.082 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003276/0.9475, allocations: 2.512 MB / 1.042 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.9475, allocations: 0 / 1.042 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9475, allocations: 0 / 1.042 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.614e-05/0.9476, allocations: 0 / 1.042 GB, free: 4.445 MB / 0.7481 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.003441/0.951, allocations: 2.143 MB / 1.044 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.9511, allocations: 7.625 kB / 1.044 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003298/0.9544, allocations: 0.6354 MB / 1.044 GB, free: 2.543 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.9569, allocations: 1.318 MB / 1.046 GB, free: 1.543 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/0.9572, allocations: 169.9 kB / 1.046 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.9574, allocations: 129 kB / 1.046 GB, free: 1.426 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/0.96, allocations: 1.439 MB / 1.047 GB, free: 0.5273 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.96, allocations: 0 / 1.047 GB, free: 0.5273 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.9601, allocations: 47.16 kB / 1.047 GB, free: 0.4922 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/0.9602, allocations: 43.11 kB / 1.047 GB, free: 500 kB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.9625, allocations: 1.219 MB / 1.049 GB, free: 15.88 MB / 0.7637 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.007852/0.9704, allocations: 5.783 MB / 1.054 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.9721, allocations: 0.992 MB / 1.055 GB, free: 9.09 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009234/0.973, allocations: 0.5225 MB / 1.056 GB, free: 8.566 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005738/0.9736, allocations: 323.9 kB / 1.056 GB, free: 8.195 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.9746, allocations: 0.5562 MB / 1.057 GB, free: 7.621 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=79): time 3.808e-06/0.9746, allocations: 3.984 kB / 1.057 GB, free: 7.617 MB / 0.7637 GB Notification: Performance of matching and sorting (n=79): time 0.003999/0.9787, allocations: 1.667 MB / 1.058 GB, free: 5.914 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.9787, allocations: 97.77 kB / 1.058 GB, free: 5.801 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.9805, allocations: 1.31 MB / 1.06 GB, free: 4.48 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.9807, allocations: 45.7 kB / 1.06 GB, free: 4.43 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006034/0.9813, allocations: 0.74 MB / 1.06 GB, free: 3.68 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/0.9815, allocations: 276 kB / 1.061 GB, free: 3.406 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/0.9816, allocations: 16 kB / 1.061 GB, free: 3.391 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.9818, allocations: 341.9 kB / 1.061 GB, free: 3.051 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008803/0.9826, allocations: 417.8 kB / 1.061 GB, free: 2.641 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.9837, allocations: 0.6614 MB / 1.062 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009721/0.9847, allocations: 0.5083 MB / 1.062 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.9847, allocations: 0 / 1.062 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002948/0.9876, allocations: 1.369 MB / 1.064 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002176/0.9879, allocations: 283.9 kB / 1.064 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.9879, allocations: 7.938 kB / 1.064 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003943/0.9883, allocations: 76.75 kB / 1.064 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009245/0.9892, allocations: 215.7 kB / 1.064 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000428/0.9897, allocations: 0.5952 MB / 1.065 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.9911, allocations: 201.3 kB / 1.065 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.252e-05/0.9912, allocations: 36 kB / 1.065 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.9913, allocations: 6.969 kB / 1.065 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002371/0.9936, allocations: 1.197 MB / 1.066 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.9937, allocations: 4.469 kB / 1.066 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/0.9938, allocations: 52.83 kB / 1.066 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/0.9947, allocations: 219.6 kB / 1.067 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.9962, allocations: 1.596 MB / 1.068 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.9977, allocations: 187 kB / 1.068 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.174e-05/0.9978, allocations: 47.98 kB / 1.068 GB, free: 11.03 MB / 0.7794 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.0007869/0.9986, allocations: 0.4985 MB / 1.069 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.9989, allocations: 154.1 kB / 1.069 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/1.001, allocations: 1.199 MB / 1.07 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/1.001, allocations: 8 kB / 1.07 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.001, allocations: 0 / 1.07 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001921/1.003, allocations: 1.08 MB / 1.071 GB, free: 8.012 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 postOpt removeSimpleEquations (simulation): time 0.004731/1.008, allocations: 2.804 MB / 1.074 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/1.008, allocations: 4 kB / 1.074 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008694/1.009, allocations: 176 kB / 1.074 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001433/1.009, allocations: 48.77 kB / 1.074 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/1.009, allocations: 27.98 kB / 1.074 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003797/1.01, allocations: 0.5875 MB / 1.075 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.01, allocations: 7.938 kB / 1.075 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003354/1.013, allocations: 1.863 MB / 1.077 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006787/1.014, allocations: 335 kB / 1.077 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/1.014, allocations: 24.03 kB / 1.077 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/1.015, allocations: 123.7 kB / 1.077 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.944e-05/1.015, allocations: 52.44 kB / 1.077 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.397e-05/1.015, allocations: 28.17 kB / 1.077 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00125/1.016, allocations: 0.8861 MB / 1.078 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/1.016, allocations: 0 / 1.078 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002153/1.018, allocations: 0.7988 MB / 1.079 GB, free: 44 kB / 0.7794 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.0006397/1.019, allocations: 294.6 kB / 1.079 GB, free: 15.75 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003663/1.023, allocations: 1.906 MB / 1.081 GB, free: 13.82 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.023, allocations: 0 / 1.081 GB, free: 13.82 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/1.024, allocations: 0.5734 MB / 1.082 GB, free: 13.23 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/1.027, allocations: 0.7939 MB / 1.082 GB, free: 12.44 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007074/1.035, allocations: 3.814 MB / 1.086 GB, free: 8.57 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008687/1.035, allocations: 1.328 MB / 1.087 GB, free: 7.215 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001694/1.037, allocations: 364.4 kB / 1.088 GB, free: 6.855 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/1.037, allocations: 107.4 kB / 1.088 GB, free: 6.75 MB / 0.795 GB Notification: Performance of SimCode: time 9.22e-07/1.038, allocations: 0 / 1.088 GB, free: 6.75 MB / 0.795 GB Notification: Performance of Templates: time 0.04051/1.078, allocations: 26.49 MB / 1.114 GB, free: 12.61 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: