Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008734/0.0008734, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009349/0.0009349, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9751/0.9751, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003205, allocations: 16.75 kB / 0.507 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1767, allocations: 82.31 MB / 0.5874 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5439/0.7207, allocations: 250.8 MB / 0.8322 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02368/0.7444, allocations: 16.18 MB / 0.848 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/0.7466, allocations: 59.56 kB / 0.8481 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002472/0.7491, allocations: 0.7492 MB / 0.8488 GB, free: 1.051 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.007287/0.7564, allocations: 2.319 MB / 0.8511 GB, free: 14.73 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005184/0.7616, allocations: 1.517 MB / 0.8526 GB, free: 13.22 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007725/0.7693, allocations: 5.664 MB / 0.8581 GB, free: 7.543 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002475/0.7718, allocations: 1.315 MB / 0.8594 GB, free: 6.211 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004724/0.7766, allocations: 1.918 MB / 0.8613 GB, free: 4.285 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.7788, allocations: 1.436 MB / 0.8627 GB, free: 2.844 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000218/0.779, allocations: 79.98 kB / 0.8627 GB, free: 2.766 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004018/0.783, allocations: 1.613 MB / 0.8643 GB, free: 1.148 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000663/0.7837, allocations: 0.5996 MB / 0.8649 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006542/0.7844, allocations: 428.8 kB / 0.8653 GB, free: 124 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.3792/1.164, allocations: 2.633 MB / 0.8679 GB, free: 42.24 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/1.164, allocations: 2.188 kB / 0.8679 GB, free: 42.24 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.184e-06/1.164, allocations: 0 / 0.8679 GB, free: 42.24 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.845e-05/1.164, allocations: 0.5 kB / 0.8679 GB, free: 42.24 MB / 0.67 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.003704/1.167, allocations: 2.054 MB / 0.8699 GB, free: 41.19 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/1.167, allocations: 11.44 kB / 0.8699 GB, free: 41.19 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003984/1.171, allocations: 0.6438 MB / 0.8705 GB, free: 41.09 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/1.174, allocations: 1.283 MB / 0.8718 GB, free: 40.71 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.319e-05/1.174, allocations: 103.6 kB / 0.8719 GB, free: 40.7 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/1.174, allocations: 134.7 kB / 0.872 GB, free: 40.7 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/1.176, allocations: 1.564 MB / 0.8735 GB, free: 40.51 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/1.176, allocations: 4.969 kB / 0.8736 GB, free: 40.51 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/1.177, allocations: 55.44 kB / 0.8736 GB, free: 40.51 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.575e-05/1.177, allocations: 48.14 kB / 0.8736 GB, free: 40.5 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/1.179, allocations: 1.257 MB / 0.8749 GB, free: 40.49 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.007341/1.186, allocations: 7.2 MB / 0.8819 GB, free: 36.61 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008947/1.187, allocations: 0.6561 MB / 0.8825 GB, free: 36.57 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004592/1.187, allocations: 368 kB / 0.8829 GB, free: 36.56 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/1.188, allocations: 108.6 kB / 0.883 GB, free: 36.47 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/1.188, allocations: 45.44 kB / 0.883 GB, free: 36.43 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007424/1.188, allocations: 150.2 kB / 0.8832 GB, free: 36.38 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 2.995e-06/1.188, allocations: 0 / 0.8832 GB, free: 36.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.001627/1.19, allocations: 1.001 MB / 0.8842 GB, free: 36.26 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/1.19, allocations: 58.69 kB / 0.8842 GB, free: 36.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/1.191, allocations: 1.335 MB / 0.8855 GB, free: 36.02 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/1.192, allocations: 44.33 kB / 0.8856 GB, free: 35.99 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004587/1.192, allocations: 0.7795 MB / 0.8863 GB, free: 35.69 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/1.192, allocations: 242.7 kB / 0.8866 GB, free: 35.54 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/1.192, allocations: 19.5 kB / 0.8866 GB, free: 35.54 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.674e-05/1.192, allocations: 342.1 kB / 0.8869 GB, free: 35.23 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00051/1.193, allocations: 340.2 kB / 0.8872 GB, free: 35.23 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008225/1.194, allocations: 0.6744 MB / 0.8879 GB, free: 34.86 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007265/1.194, allocations: 453.7 kB / 0.8883 GB, free: 34.85 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.194, allocations: 2.281 kB / 0.8883 GB, free: 34.85 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001764/1.196, allocations: 1.131 MB / 0.8894 GB, free: 34.73 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.000142/1.196, allocations: 294 kB / 0.8897 GB, free: 34.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/1.196, allocations: 10.91 kB / 0.8897 GB, free: 34.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.432e-05/1.196, allocations: 16.77 kB / 0.8897 GB, free: 34.39 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008177/1.197, allocations: 210.7 kB / 0.8899 GB, free: 34.39 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/1.197, allocations: 17.39 kB / 0.89 GB, free: 34.39 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/1.199, allocations: 131.4 kB / 0.8901 GB, free: 34.37 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/1.199, allocations: 40.02 kB / 0.8901 GB, free: 34.37 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.204e-06/1.199, allocations: 6.875 kB / 0.8901 GB, free: 34.37 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001372/1.2, allocations: 0.9796 MB / 0.8911 GB, free: 34.36 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.2, allocations: 8.344 kB / 0.8911 GB, free: 34.36 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/1.2, allocations: 12.77 kB / 0.8911 GB, free: 34.36 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/1.201, allocations: 207.5 kB / 0.8913 GB, free: 34.36 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/1.201, allocations: 15.66 kB / 0.8913 GB, free: 34.36 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/1.202, allocations: 122.3 kB / 0.8914 GB, free: 34.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.029e-05/1.202, allocations: 42.23 kB / 0.8915 GB, free: 34.34 MB / 0.67 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.000864/1.203, allocations: 0.4958 MB / 0.892 GB, free: 34.14 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/1.203, allocations: 148 kB / 0.8921 GB, free: 34.06 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/1.205, allocations: 0.8096 MB / 0.8929 GB, free: 34.01 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/1.205, allocations: 7.781 kB / 0.8929 GB, free: 34.01 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.205, allocations: 0 / 0.8929 GB, free: 34.01 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001024/1.206, allocations: 0.7815 MB / 0.8937 GB, free: 33.75 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00367/1.21, allocations: 2.297 MB / 0.8959 GB, free: 33.37 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.21, allocations: 2.188 kB / 0.8959 GB, free: 33.37 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008523/1.21, allocations: 173.4 kB / 0.8961 GB, free: 33.37 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/1.21, allocations: 4.625 kB / 0.8961 GB, free: 33.37 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.18e-05/1.211, allocations: 20.98 kB / 0.8961 GB, free: 33.37 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/1.211, allocations: 7.5 kB / 0.8961 GB, free: 33.37 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.211, allocations: 6.359 kB / 0.8961 GB, free: 33.36 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/1.212, allocations: 1.305 MB / 0.8974 GB, free: 33.09 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006054/1.213, allocations: 318 kB / 0.8977 GB, free: 32.92 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/1.213, allocations: 16.48 kB / 0.8977 GB, free: 32.92 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009772/1.214, allocations: 95.84 kB / 0.8978 GB, free: 32.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/1.214, allocations: 47.41 kB / 0.8978 GB, free: 32.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.063e-05/1.214, allocations: 32.62 kB / 0.8979 GB, free: 32.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001639/1.216, allocations: 0.8995 MB / 0.8987 GB, free: 32.79 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.216, allocations: 0 / 0.8987 GB, free: 32.79 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002755/1.219, allocations: 0.8408 MB / 0.8996 GB, free: 32.68 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 71 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0006464/1.22, allocations: 257 kB / 0.8998 GB, free: 32.57 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00278/1.222, allocations: 1.314 MB / 0.9011 GB, free: 32.55 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.222, allocations: 1.594 kB / 0.9011 GB, free: 32.55 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006196/1.223, allocations: 342.4 kB / 0.9014 GB, free: 32.55 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003968/1.227, allocations: 0.8486 MB / 0.9022 GB, free: 32.49 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0053/1.232, allocations: 3.469 MB / 0.9056 GB, free: 30.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/1.233, allocations: 1.346 MB / 0.907 GB, free: 29.96 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002202/1.236, allocations: 414.1 kB / 0.9073 GB, free: 29.87 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/1.236, allocations: 116.5 kB / 0.9075 GB, free: 29.86 MB / 0.67 GB Notification: Performance of SimCode: time 1.243e-06/1.236, allocations: 3.938 kB / 0.9075 GB, free: 29.86 MB / 0.67 GB Notification: Performance of Templates: time 0.04658/1.283, allocations: 27.13 MB / 0.934 GB, free: 22.17 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)