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.001019/0.001019, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 182.8 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9433/0.9433, allocations: 135.3 MB / 427.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003376, allocations: 15.98 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1567, allocations: 82.31 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5568/0.7135, allocations: 268.8 MB / 0.8511 GB, free: 15.42 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4019/1.115, allocations: 17.27 MB / 0.868 GB, free: 31.85 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002575/1.118, allocations: 60.91 kB / 0.868 GB, free: 31.85 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002872/1.121, allocations: 0.9902 MB / 0.869 GB, free: 31.85 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008071/1.129, allocations: 2.922 MB / 0.8718 GB, free: 31.83 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005569/1.135, allocations: 2.022 MB / 0.8738 GB, free: 31.76 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008335/1.143, allocations: 6.725 MB / 0.8804 GB, free: 31.75 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002732/1.146, allocations: 1.434 MB / 0.8818 GB, free: 31.62 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006597/1.152, allocations: 2.05 MB / 0.8838 GB, free: 31.59 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004217/1.157, allocations: 1.524 MB / 0.8853 GB, free: 31.59 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005529/1.157, allocations: 74.72 kB / 0.8853 GB, free: 31.59 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006858/1.164, allocations: 3.392 MB / 0.8887 GB, free: 31.56 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001237/1.165, allocations: 0.6038 MB / 0.8892 GB, free: 31.56 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002269/1.168, allocations: 0.9944 MB / 0.8902 GB, free: 31.53 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005644/1.173, allocations: 2.81 MB / 0.893 GB, free: 31.34 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/1.173, allocations: 3.688 kB / 0.893 GB, free: 31.34 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.575e-06/1.173, allocations: 1.062 kB / 0.893 GB, free: 31.34 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.817e-05/1.173, allocations: 0 / 0.893 GB, free: 31.34 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.005284/1.179, allocations: 2.032 MB / 0.8949 GB, free: 30.2 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.179, allocations: 8.75 kB / 0.895 GB, free: 30.2 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004841/1.184, allocations: 0.6436 MB / 0.8956 GB, free: 30.08 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002794/1.186, allocations: 1.341 MB / 0.8969 GB, free: 29.65 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/1.187, allocations: 99.11 kB / 0.897 GB, free: 29.65 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002823/1.187, allocations: 137.1 kB / 0.8971 GB, free: 29.65 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00298/1.19, allocations: 1.575 MB / 0.8987 GB, free: 29.45 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/1.19, allocations: 3.594 kB / 0.8987 GB, free: 29.45 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/1.19, allocations: 54.41 kB / 0.8987 GB, free: 29.45 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.295e-05/1.19, allocations: 53.36 kB / 0.8988 GB, free: 29.45 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/1.192, allocations: 1.258 MB / 0.9 GB, free: 29.43 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.009171/1.202, allocations: 7.218 MB / 0.907 GB, free: 25.56 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/1.203, allocations: 0.6563 MB / 0.9077 GB, free: 25.52 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005469/1.203, allocations: 368.3 kB / 0.908 GB, free: 25.51 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/1.203, allocations: 106 kB / 0.9081 GB, free: 25.42 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/1.203, allocations: 53.7 kB / 0.9082 GB, free: 25.38 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001258/1.205, allocations: 152.8 kB / 0.9083 GB, free: 25.32 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 5.761e-06/1.205, allocations: 0 / 0.9083 GB, free: 25.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.0022/1.207, allocations: 1.012 MB / 0.9093 GB, free: 25.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/1.207, allocations: 62.78 kB / 0.9094 GB, free: 25.13 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/1.209, allocations: 1.335 MB / 0.9107 GB, free: 24.97 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001302/1.209, allocations: 45.36 kB / 0.9107 GB, free: 24.94 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007191/1.21, allocations: 0.774 MB / 0.9115 GB, free: 24.64 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/1.21, allocations: 247.5 kB / 0.9117 GB, free: 24.48 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/1.21, allocations: 86.7 kB / 0.9118 GB, free: 24.46 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.36e-05/1.21, allocations: 343.5 kB / 0.9121 GB, free: 24.16 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006096/1.211, allocations: 346.9 kB / 0.9125 GB, free: 24.16 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007732/1.212, allocations: 0.6765 MB / 0.9131 GB, free: 23.79 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/1.213, allocations: 0.9513 MB / 0.914 GB, free: 23.53 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/1.213, allocations: 6.406 kB / 0.9141 GB, free: 23.53 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002149/1.215, allocations: 1.146 MB / 0.9152 GB, free: 23.42 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.000169/1.216, allocations: 294.6 kB / 0.9155 GB, free: 23.08 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/1.216, allocations: 7.188 kB / 0.9155 GB, free: 23.08 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.607e-05/1.216, allocations: 13.19 kB / 0.9155 GB, free: 23.08 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009203/1.217, allocations: 210.9 kB / 0.9157 GB, free: 23.08 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.732e-05/1.217, allocations: 16.47 kB / 0.9157 GB, free: 23.08 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/1.219, allocations: 124.8 kB / 0.9158 GB, free: 23.06 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-05/1.219, allocations: 45.36 kB / 0.9159 GB, free: 23.06 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/1.219, allocations: 4.438 kB / 0.9159 GB, free: 23.06 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001542/1.22, allocations: 0.9775 MB / 0.9168 GB, free: 23.05 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.22, allocations: 6.938 kB / 0.9168 GB, free: 23.05 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/1.22, allocations: 12.22 kB / 0.9168 GB, free: 23.05 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007907/1.221, allocations: 207.8 kB / 0.917 GB, free: 23.05 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/1.221, allocations: 16.41 kB / 0.917 GB, free: 23.05 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/1.223, allocations: 126.9 kB / 0.9172 GB, free: 23.03 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/1.223, allocations: 48.8 kB / 0.9172 GB, free: 23.02 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001102/1.224, allocations: 498.9 kB / 0.9177 GB, free: 22.83 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003423/1.225, allocations: 150.4 kB / 0.9178 GB, free: 22.75 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/1.226, allocations: 0.8205 MB / 0.9186 GB, free: 22.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/1.226, allocations: 7.906 kB / 0.9186 GB, free: 22.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.226, allocations: 0 / 0.9186 GB, free: 22.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008374/1.227, allocations: 0.7905 MB / 0.9194 GB, free: 22.44 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003495/1.23, allocations: 2.292 MB / 0.9216 GB, free: 22.06 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.23, allocations: 2.5 kB / 0.9217 GB, free: 22.06 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007685/1.231, allocations: 167.8 kB / 0.9218 GB, free: 22.06 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/1.231, allocations: 2.875 kB / 0.9218 GB, free: 22.06 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/1.231, allocations: 20.38 kB / 0.9218 GB, free: 22.06 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.288e-06/1.231, allocations: 8.953 kB / 0.9218 GB, free: 22.05 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.231, allocations: 4.766 kB / 0.9218 GB, free: 22.05 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/1.233, allocations: 1.318 MB / 0.9231 GB, free: 21.77 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007069/1.233, allocations: 317.8 kB / 0.9234 GB, free: 21.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/1.234, allocations: 22.02 kB / 0.9235 GB, free: 21.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/1.235, allocations: 93.98 kB / 0.9235 GB, free: 21.58 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/1.235, allocations: 47.66 kB / 0.9236 GB, free: 21.58 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.038e-05/1.235, allocations: 32.44 kB / 0.9236 GB, free: 21.58 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001059/1.236, allocations: 0.9061 MB / 0.9245 GB, free: 21.34 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.2e-07/1.236, allocations: 2.906 kB / 0.9245 GB, free: 21.34 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002054/1.238, allocations: 0.8459 MB / 0.9253 GB, free: 21.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005018/1.239, allocations: 265.1 kB / 0.9256 GB, free: 21.09 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001986/1.241, allocations: 1.321 MB / 0.9269 GB, free: 20.94 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.241, allocations: 7.844 kB / 0.9269 GB, free: 20.93 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004111/1.241, allocations: 351.3 kB / 0.9272 GB, free: 20.89 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004381/1.245, allocations: 0.8281 MB / 0.928 GB, free: 20.63 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004195/1.25, allocations: 3.702 MB / 0.9316 GB, free: 18.37 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006632/1.25, allocations: 1.347 MB / 0.933 GB, free: 17.41 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/1.251, allocations: 119.9 kB / 0.9331 GB, free: 17.4 MB / 0.67 GB Notification: Performance of SimCode: time 6.21e-07/1.251, allocations: 4 kB / 0.9331 GB, free: 17.39 MB / 0.67 GB Notification: Performance of Templates: time 0.03271/1.283, allocations: 25.03 MB / 0.9575 GB, free: 14.59 MB / 0.6856 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)