Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.Humidifier_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u") translateModel(Buildings.Fluid.MassExchangers.Examples.Humidifier_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1767/0.1774, allocations: 82.21 MB / 0.5941 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.Humidifier_u): time 0.6691/0.8466, allocations: 250 MB / 0.8382 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01492/0.8616, allocations: 8.991 MB / 0.847 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003443/0.8651, allocations: 63.62 kB / 0.8471 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003018/0.8681, allocations: 0.8549 MB / 0.8479 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007979/0.8761, allocations: 2.4 MB / 0.8502 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006568/0.8827, allocations: 2.077 MB / 0.8523 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008248/0.8909, allocations: 5.935 MB / 0.8581 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003213/0.8942, allocations: 1.496 MB / 0.8595 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004577/0.8988, allocations: 1.63 MB / 0.8611 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004/0.9029, allocations: 1.4 MB / 0.8625 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004827/0.9034, allocations: 72 kB / 0.8626 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006501/0.9099, allocations: 2.86 MB / 0.8653 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009395/0.9108, allocations: 0.5448 MB / 0.8659 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001604/0.9124, allocations: 1.008 MB / 0.8669 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006185/0.9186, allocations: 3.781 MB / 0.8706 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9187, allocations: 3.938 kB / 0.8706 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9187, allocations: 0 / 0.8706 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.654e-05/0.9187, allocations: 0 / 0.8706 GB, free: 1.391 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.004224/0.923, allocations: 2.301 MB / 0.8728 GB, free: 15 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.923, allocations: 16.02 kB / 0.8728 GB, free: 14.99 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003362/0.9264, allocations: 0.614 MB / 0.8734 GB, free: 14.37 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/0.9288, allocations: 1.391 MB / 0.8748 GB, free: 12.93 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003964/0.9292, allocations: 174.6 kB / 0.8749 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/0.9294, allocations: 151.9 kB / 0.8751 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003502/0.933, allocations: 1.769 MB / 0.8768 GB, free: 10.78 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.933, allocations: 0 / 0.8768 GB, free: 10.78 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.9331, allocations: 59.98 kB / 0.8769 GB, free: 10.72 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/0.9332, allocations: 54.66 kB / 0.8769 GB, free: 10.67 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00327/0.9365, allocations: 1.521 MB / 0.8784 GB, free: 9.141 MB / 0.67 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.009607/0.9461, allocations: 6.351 MB / 0.8846 GB, free: 2.441 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/0.9487, allocations: 1.223 MB / 0.8858 GB, free: 1.188 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.9498, allocations: 0.5181 MB / 0.8863 GB, free: 0.668 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000393/0.9502, allocations: 145.7 kB / 0.8865 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001761/0.952, allocations: 0.8222 MB / 0.8873 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 3.156e-06/0.952, allocations: 0 / 0.8873 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.006289/0.9583, allocations: 2.131 MB / 0.8893 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/0.9585, allocations: 431.9 kB / 0.8898 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.9608, allocations: 1.53 MB / 0.8912 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.9609, allocations: 45.7 kB / 0.8913 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007713/0.9617, allocations: 0.834 MB / 0.8921 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/0.962, allocations: 287.9 kB / 0.8924 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.9622, allocations: 97.66 kB / 0.8925 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.9623, allocations: 345.9 kB / 0.8928 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.9636, allocations: 0.5331 MB / 0.8933 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.9651, allocations: 0.8932 MB / 0.8942 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002598/0.9677, allocations: 1.336 MB / 0.8955 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.9678, allocations: 0 / 0.8955 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.005155/0.9729, allocations: 1.911 MB / 0.8974 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002689/0.9732, allocations: 335.4 kB / 0.8977 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.9733, allocations: 8 kB / 0.8977 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005375/0.9738, allocations: 140.8 kB / 0.8978 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.9749, allocations: 235.7 kB / 0.8981 GB, free: 4.074 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004823/0.9797, allocations: 2.403 MB / 0.9004 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/0.9822, allocations: 278.4 kB / 0.9007 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.9824, allocations: 40 kB / 0.9007 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.9824, allocations: 4 kB / 0.9007 GB, free: 1.215 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4286/1.411, allocations: 1.402 MB / 0.9021 GB, free: 251.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/1.411, allocations: 4.844 kB / 0.9021 GB, free: 251.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/1.411, allocations: 49.59 kB / 0.9021 GB, free: 251.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/1.413, allocations: 230.4 kB / 0.9023 GB, free: 251.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/1.414, allocations: 1.607 MB / 0.9039 GB, free: 249.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/1.416, allocations: 225.2 kB / 0.9041 GB, free: 249.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.757e-05/1.416, allocations: 46.75 kB / 0.9042 GB, free: 249.9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 11 (humSte.vol.i_w,humDyn.vol.i_w,TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.local_reset,con1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 3 * 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.001152/1.418, allocations: 0.5263 MB / 0.9047 GB, free: 249.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003237/1.418, allocations: 176.6 kB / 0.9049 GB, free: 249.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004556/1.422, allocations: 1.489 MB / 0.9063 GB, free: 249.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/1.423, allocations: 8.203 kB / 0.9063 GB, free: 249.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.423, allocations: 3.594 kB / 0.9063 GB, free: 249.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003714/1.426, allocations: 1.361 MB / 0.9077 GB, free: 249.4 MB / 0.6856 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.008166/1.434, allocations: 3.336 MB / 0.9109 GB, free: 248.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/1.434, allocations: 1.312 kB / 0.9109 GB, free: 248.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/1.436, allocations: 193.4 kB / 0.9111 GB, free: 248.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005044/1.436, allocations: 130 kB / 0.9112 GB, free: 248.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.872e-05/1.436, allocations: 28.67 kB / 0.9112 GB, free: 248.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00428/1.44, allocations: 2.183 MB / 0.9134 GB, free: 246.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.44, allocations: 5.219 kB / 0.9134 GB, free: 246.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006626/1.447, allocations: 2.232 MB / 0.9156 GB, free: 245.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/1.448, allocations: 386.3 kB / 0.9159 GB, free: 245.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005402/1.449, allocations: 21.28 kB / 0.916 GB, free: 245.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/1.451, allocations: 138.5 kB / 0.9161 GB, free: 245.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/1.451, allocations: 54.5 kB / 0.9161 GB, free: 245.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/1.451, allocations: 30.14 kB / 0.9162 GB, free: 245.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002786/1.454, allocations: 1.04 MB / 0.9172 GB, free: 245.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.61e-07/1.454, allocations: 1.156 kB / 0.9172 GB, free: 245.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004539/1.458, allocations: 0.9062 MB / 0.9181 GB, free: 244.9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (73): * Single equations (assignments): 71 * 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.0008564/1.459, allocations: 259.6 kB / 0.9183 GB, free: 244.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005896/1.465, allocations: 2.528 MB / 0.9208 GB, free: 243.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.465, allocations: 1.125 kB / 0.9208 GB, free: 243.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/1.467, allocations: 0.7591 MB / 0.9215 GB, free: 243.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006667/1.474, allocations: 0.8556 MB / 0.9224 GB, free: 243.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/1.486, allocations: 4.222 MB / 0.9265 GB, free: 240.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002113/1.488, allocations: 1.381 MB / 0.9278 GB, free: 240 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003304/1.492, allocations: 375.2 kB / 0.9282 GB, free: 240 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007019/1.492, allocations: 112 kB / 0.9283 GB, free: 240 MB / 0.6856 GB Notification: Performance of SimCode: time 1.582e-06/1.492, allocations: 0 / 0.9283 GB, free: 240 MB / 0.6856 GB Notification: Performance of Templates: time 0.0596/1.552, allocations: 33.49 MB / 0.961 GB, free: 216.9 MB / 0.6856 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u.sim & ./Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.Humidifier_u.pipe 2>&1) Environment - environmentSimulation: