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.1609/0.1616, allocations: 82.22 MB / 0.5934 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.Humidifier_u): time 0.544/0.7057, allocations: 209.1 MB / 0.7976 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01715/0.7229, allocations: 9.07 MB / 0.8064 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003278/0.7262, allocations: 60.19 kB / 0.8065 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00357/0.7298, allocations: 0.8561 MB / 0.8073 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009067/0.7389, allocations: 2.529 MB / 0.8098 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005651/0.7446, allocations: 1.764 MB / 0.8115 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005852/0.7504, allocations: 2.618 MB / 0.8141 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002782/0.7533, allocations: 1.271 MB / 0.8153 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004378/0.7577, allocations: 1.496 MB / 0.8168 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.7601, allocations: 0.9373 MB / 0.8177 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000667/0.7608, allocations: 71.94 kB / 0.8178 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004173/0.765, allocations: 1.232 MB / 0.819 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009641/0.766, allocations: 0.4945 MB / 0.8195 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.767, allocations: 440.6 kB / 0.8199 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004088/0.7711, allocations: 2.494 MB / 0.8223 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7712, allocations: 0 / 0.8223 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7712, allocations: 0 / 0.8223 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001372/0.7713, allocations: 0 / 0.8223 GB, free: 5.27 MB / 0.5762 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.005747/0.7771, allocations: 2.27 MB / 0.8245 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.7771, allocations: 12.03 kB / 0.8245 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003744/0.7809, allocations: 0.6185 MB / 0.8252 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.784, allocations: 1.334 MB / 0.8265 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003782/0.7844, allocations: 170.7 kB / 0.8266 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.7847, allocations: 159.9 kB / 0.8268 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003558/0.7882, allocations: 1.746 MB / 0.8285 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.7883, allocations: 0 / 0.8285 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.7884, allocations: 60 kB / 0.8285 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.246e-05/0.7885, allocations: 47.53 kB / 0.8286 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003299/0.7918, allocations: 1.517 MB / 0.8301 GB, free: 13.14 MB / 0.5919 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.009731/0.8015, allocations: 6.352 MB / 0.8363 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002676/0.8042, allocations: 1.239 MB / 0.8375 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003589/0.8046, allocations: 137.7 kB / 0.8376 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001685/0.8063, allocations: 0.8145 MB / 0.8384 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.735e-06/0.8063, allocations: 0 / 0.8384 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.006118/0.8124, allocations: 2.208 MB / 0.8406 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002019/0.8127, allocations: 431.9 kB / 0.841 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/0.8148, allocations: 1.514 MB / 0.8424 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001633/0.815, allocations: 49.64 kB / 0.8425 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007226/0.8157, allocations: 0.8341 MB / 0.8433 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.816, allocations: 279.9 kB / 0.8436 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.207e-05/0.816, allocations: 24 kB / 0.8436 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.8162, allocations: 345.9 kB / 0.8439 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.8173, allocations: 0.5215 MB / 0.8444 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.8188, allocations: 0.8783 MB / 0.8453 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.8201, allocations: 0.6834 MB / 0.846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.902e-05/0.8201, allocations: 4 kB / 0.846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004667/0.8248, allocations: 1.899 MB / 0.8478 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009736/0.8258, allocations: 2.078 MB / 0.8498 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.8258, allocations: 4 kB / 0.8499 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000486/0.8263, allocations: 144.8 kB / 0.85 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.8274, allocations: 239.6 kB / 0.8502 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004733/0.8322, allocations: 2.458 MB / 0.8526 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.8344, allocations: 270.4 kB / 0.8529 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.8346, allocations: 43.98 kB / 0.8529 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.8346, allocations: 4 kB / 0.8529 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002621/0.8372, allocations: 1.4 MB / 0.8543 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.8372, allocations: 4 kB / 0.8543 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001405/0.8374, allocations: 44.84 kB / 0.8543 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009375/0.8383, allocations: 227.8 kB / 0.8546 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.8399, allocations: 1.631 MB / 0.8561 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/0.8421, allocations: 226.7 kB / 0.8564 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.8422, allocations: 43.98 kB / 0.8564 GB, free: 0.8555 MB / 0.6075 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,$whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,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 (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.001383/0.8436, allocations: 0.5287 MB / 0.8569 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000397/0.844, allocations: 177.9 kB / 0.8571 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003774/0.8478, allocations: 1.489 MB / 0.8585 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.8478, allocations: 8 kB / 0.8586 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8478, allocations: 0 / 0.8586 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003237/0.8511, allocations: 1.357 MB / 0.8599 GB, free: 13.21 MB / 0.6231 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.006586/0.8577, allocations: 3.323 MB / 0.8631 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.8577, allocations: 7.984 kB / 0.8631 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009085/0.8586, allocations: 183.9 kB / 0.8633 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003847/0.859, allocations: 136.8 kB / 0.8634 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-05/0.8591, allocations: 23.98 kB / 0.8635 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003881/0.863, allocations: 2.232 MB / 0.8656 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.863, allocations: 8.562 kB / 0.8656 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00497/0.868, allocations: 2.29 MB / 0.8679 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000913/0.8689, allocations: 382.7 kB / 0.8682 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/0.8691, allocations: 31.98 kB / 0.8683 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.8704, allocations: 139.7 kB / 0.8684 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.8705, allocations: 48.59 kB / 0.8685 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.226e-05/0.8706, allocations: 31.97 kB / 0.8685 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001421/0.872, allocations: 1.023 MB / 0.8695 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.872, allocations: 3.938 kB / 0.8695 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002391/0.8744, allocations: 0.8964 MB / 0.8704 GB, free: 2.16 MB / 0.6231 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 (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.0005555/0.875, allocations: 248.4 kB / 0.8706 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004454/0.8794, allocations: 2.512 MB / 0.8731 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.8795, allocations: 0 / 0.8731 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.8807, allocations: 0.7558 MB / 0.8738 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00349/0.8842, allocations: 0.8515 MB / 0.8746 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007273/0.8915, allocations: 4.068 MB / 0.8786 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009445/0.8925, allocations: 1.422 MB / 0.88 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001555/0.8941, allocations: 369.2 kB / 0.8803 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.8944, allocations: 111.4 kB / 0.8804 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of SimCode: time 1.162e-06/0.8944, allocations: 7.938 kB / 0.8805 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of Templates: time 0.05166/0.9461, allocations: 32.45 MB / 0.9121 GB, free: 7.547 MB / 0.67 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: