Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003747/0.003753, allocations: 356.5 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.468/1.468, allocations: 165.8 MB / 183.1 MB, free: 5.371 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.761/3.761, allocations: 410.8 MB / 0.6001 GB, free: 15.17 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002581/0.00258, allocations: 205.4 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004653, allocations: 19.94 kB / 0.7429 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3935, allocations: 67.43 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7947/1.188, allocations: 244.4 MB / 1.047 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.04895/1.237, allocations: 16.98 MB / 1.064 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00332/1.241, allocations: 55.62 kB / 1.064 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.006047/1.247, allocations: 0.8734 MB / 1.065 GB, free: 2.453 MB / 0.5105 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0189/1.266, allocations: 3.238 MB / 1.068 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.01141/1.277, allocations: 1.731 MB / 1.07 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.01422/1.291, allocations: 5.675 MB / 1.075 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004265/1.296, allocations: 1.302 MB / 1.077 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007195/1.303, allocations: 1.692 MB / 1.078 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004862/1.308, allocations: 1.436 MB / 1.08 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0005476/1.308, allocations: 76 kB / 1.08 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007222/1.316, allocations: 1.169 MB / 1.081 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.00156/1.317, allocations: 0.5996 MB / 1.081 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001243/1.319, allocations: 428.8 kB / 1.082 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.006583/1.325, allocations: 2.478 MB / 1.084 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.325, allocations: 0 / 1.084 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.214e-06/1.325, allocations: 4 kB / 1.084 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.472e-05/1.325, allocations: 0 / 1.084 GB, free: 14.56 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.00563/1.331, allocations: 1.987 MB / 1.086 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/1.331, allocations: 12.03 kB / 1.086 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007386/1.338, allocations: 0.6534 MB / 1.087 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00356/1.342, allocations: 1.273 MB / 1.088 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/1.342, allocations: 106.5 kB / 1.088 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003434/1.343, allocations: 139.9 kB / 1.088 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004131/1.347, allocations: 1.561 MB / 1.09 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.786e-05/1.347, allocations: 3.938 kB / 1.09 GB, free: 8.637 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/1.347, allocations: 60 kB / 1.09 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.59e-05/1.347, allocations: 42.45 kB / 1.09 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003582/1.351, allocations: 1.259 MB / 1.091 GB, free: 7.27 MB / 0.5417 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.01383/1.364, allocations: 7.214 MB / 1.098 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/1.366, allocations: 0.6411 MB / 1.099 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009016/1.367, allocations: 370.8 kB / 1.099 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002809/1.367, allocations: 105.7 kB / 1.099 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/1.367, allocations: 43.12 kB / 1.099 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001205/1.369, allocations: 147 kB / 1.099 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=67): time 3.878e-06/1.369, allocations: 0 / 1.099 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=67): time 0.003/1.372, allocations: 1.009 MB / 1.1 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/1.372, allocations: 59.97 kB / 1.101 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002683/1.374, allocations: 1.331 MB / 1.102 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/1.375, allocations: 45.7 kB / 1.102 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008958/1.376, allocations: 0.7658 MB / 1.103 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/1.376, allocations: 248.5 kB / 1.103 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.832e-05/1.376, allocations: 16 kB / 1.103 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.376, allocations: 345.9 kB / 1.103 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009464/1.377, allocations: 341.8 kB / 1.104 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/1.378, allocations: 0.6712 MB / 1.104 GB, free: 9.152 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/1.38, allocations: 454.8 kB / 1.105 GB, free: 8.711 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/1.38, allocations: 11.94 kB / 1.105 GB, free: 8.699 MB / 0.5573 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003019/1.383, allocations: 1.132 MB / 1.106 GB, free: 7.559 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002369/1.383, allocations: 288.4 kB / 1.106 GB, free: 7.184 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.383, allocations: 8 kB / 1.106 GB, free: 7.176 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.976e-05/1.383, allocations: 12 kB / 1.106 GB, free: 7.164 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/1.385, allocations: 223.5 kB / 1.106 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-05/1.385, allocations: 15.94 kB / 1.106 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/1.388, allocations: 127.6 kB / 1.106 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/1.388, allocations: 47.97 kB / 1.106 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/1.388, allocations: 4 kB / 1.106 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00254/1.39, allocations: 0.9685 MB / 1.107 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/1.39, allocations: 12.16 kB / 1.107 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/1.39, allocations: 15.94 kB / 1.107 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/1.392, allocations: 211.7 kB / 1.108 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.674e-05/1.392, allocations: 19.92 kB / 1.108 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/1.395, allocations: 126 kB / 1.108 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/1.395, allocations: 40 kB / 1.108 GB, free: 5.375 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001091/1.396, allocations: 496.7 kB / 1.108 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003617/1.396, allocations: 154.2 kB / 1.108 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/1.399, allocations: 0.82 MB / 1.109 GB, free: 3.891 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001657/1.4, allocations: 0.7823 MB / 1.11 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.4, allocations: 0 / 1.11 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009049/1.401, allocations: 315.2 kB / 1.11 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002831/1.401, allocations: 20 kB / 1.11 GB, free: 2.711 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/1.403, allocations: 92.34 kB / 1.11 GB, free: 2.621 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/1.403, allocations: 40.56 kB / 1.11 GB, free: 2.582 MB / 0.5573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003014/1.406, allocations: 0.8641 MB / 1.111 GB, free: 1.707 MB / 0.5573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003015/1.41, allocations: 1.374 MB / 1.113 GB, free: 320 kB / 0.5573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007538/1.41, allocations: 333.1 kB / 1.113 GB, free: 15.99 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001947/1.412, allocations: 0.8886 MB / 1.114 GB, free: 15.1 MB / 0.573 GB Notification: Performance of Backend: time 4.71e-07/1.412, allocations: 0 / 1.114 GB, free: 15.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005223/1.418, allocations: 1.604 MB / 1.115 GB, free: 13.51 MB / 0.573 GB Notification: Performance of SimCode: time 0.01237/1.43, allocations: 4.4 MB / 1.12 GB, free: 9.066 MB / 0.573 GB Notification: Performance of Templates: time 0.09327/1.523, allocations: 34.63 MB / 1.153 GB, free: 6.719 MB / 0.6042 GB