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.001513/0.001514, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00153/0.00153, allocations: 195.4 kB / 16.26 MB, free: 6.625 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.356/1.356, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9588/0.9588, allocations: 135.6 MB / 425.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 59.72 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1578, allocations: 81.03 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.523/0.6809, allocations: 271.3 MB / 0.8495 GB, free: 12.82 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.3576/1.038, allocations: 17.21 MB / 0.8663 GB, free: 27.39 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00276/1.041, allocations: 61.31 kB / 0.8664 GB, free: 27.39 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00274/1.044, allocations: 1.037 MB / 0.8674 GB, free: 27.39 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006501/1.051, allocations: 2.899 MB / 0.8702 GB, free: 27.35 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004418/1.055, allocations: 2.044 MB / 0.8722 GB, free: 27.29 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005345/1.06, allocations: 4.825 MB / 0.8769 GB, free: 27.29 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002731/1.063, allocations: 1.722 MB / 0.8786 GB, free: 27.12 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006723/1.07, allocations: 2.406 MB / 0.8809 GB, free: 27.1 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003577/1.073, allocations: 1.634 MB / 0.8825 GB, free: 27.09 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004154/1.074, allocations: 191.6 kB / 0.8827 GB, free: 27.09 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005803/1.08, allocations: 3.14 MB / 0.8858 GB, free: 27.06 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009422/1.081, allocations: 0.729 MB / 0.8865 GB, free: 27.06 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001959/1.083, allocations: 1.117 MB / 0.8876 GB, free: 27.06 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007132/1.09, allocations: 4.003 MB / 0.8915 GB, free: 26.82 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.09, allocations: 0 / 0.8915 GB, free: 26.82 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.234e-06/1.09, allocations: 4.75 kB / 0.8915 GB, free: 26.82 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.839e-05/1.09, allocations: 0 / 0.8915 GB, free: 26.82 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.005305/1.095, allocations: 2.435 MB / 0.8939 GB, free: 25.62 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/1.095, allocations: 10.88 kB / 0.8939 GB, free: 25.62 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004774/1.1, allocations: 0.6403 MB / 0.8945 GB, free: 25.52 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/1.103, allocations: 1.329 MB / 0.8958 GB, free: 25.1 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.903e-05/1.103, allocations: 104.5 kB / 0.8959 GB, free: 25.09 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/1.103, allocations: 139 kB / 0.896 GB, free: 25.09 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/1.106, allocations: 1.566 MB / 0.8976 GB, free: 24.9 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/1.106, allocations: 5.797 kB / 0.8976 GB, free: 24.9 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/1.106, allocations: 56.09 kB / 0.8976 GB, free: 24.9 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-05/1.106, allocations: 52.88 kB / 0.8977 GB, free: 24.89 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/1.109, allocations: 1.264 MB / 0.8989 GB, free: 24.88 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.00901/1.118, allocations: 7.205 MB / 0.906 GB, free: 21.01 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009219/1.119, allocations: 0.6531 MB / 0.9066 GB, free: 20.98 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/1.119, allocations: 371.8 kB / 0.9069 GB, free: 20.97 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/1.119, allocations: 109 kB / 0.907 GB, free: 20.88 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/1.119, allocations: 48.16 kB / 0.9071 GB, free: 20.83 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001039/1.12, allocations: 131.6 kB / 0.9072 GB, free: 20.79 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 3.667e-06/1.12, allocations: 1.375 kB / 0.9072 GB, free: 20.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.001767/1.122, allocations: 1.01 MB / 0.9082 GB, free: 20.66 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/1.122, allocations: 59.41 kB / 0.9083 GB, free: 20.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/1.124, allocations: 1.334 MB / 0.9096 GB, free: 20.44 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.732e-05/1.124, allocations: 48.06 kB / 0.9096 GB, free: 20.41 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/1.124, allocations: 0.7769 MB / 0.9104 GB, free: 20.11 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/1.124, allocations: 245.3 kB / 0.9106 GB, free: 19.95 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/1.125, allocations: 204.3 kB / 0.9108 GB, free: 19.93 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.583e-05/1.125, allocations: 344.6 kB / 0.9111 GB, free: 19.62 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/1.125, allocations: 352.4 kB / 0.9115 GB, free: 19.62 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006181/1.126, allocations: 0.6785 MB / 0.9121 GB, free: 19.25 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/1.127, allocations: 0.9489 MB / 0.9131 GB, free: 19.01 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.127, allocations: 5.125 kB / 0.9131 GB, free: 19.01 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001632/1.129, allocations: 1.151 MB / 0.9142 GB, free: 18.89 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.129, allocations: 8.188 kB / 0.9142 GB, free: 18.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/1.129, allocations: 9.906 kB / 0.9142 GB, free: 18.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/1.129, allocations: 11.19 kB / 0.9142 GB, free: 18.89 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/1.129, allocations: 208 kB / 0.9144 GB, free: 18.89 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/1.129, allocations: 16.91 kB / 0.9144 GB, free: 18.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/1.131, allocations: 127.6 kB / 0.9145 GB, free: 18.88 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.683e-05/1.131, allocations: 41.89 kB / 0.9146 GB, free: 18.88 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000986/1.132, allocations: 0.6858 MB / 0.9153 GB, free: 18.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006163/1.133, allocations: 0.6751 MB / 0.9159 GB, free: 18.43 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00104/1.134, allocations: 0.9468 MB / 0.9168 GB, free: 18.19 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.529e-06/1.134, allocations: 1.5 kB / 0.9168 GB, free: 18.19 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001533/1.135, allocations: 1.146 MB / 0.918 GB, free: 18.07 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/1.135, allocations: 15.44 kB / 0.918 GB, free: 18.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.135, allocations: 7.969 kB / 0.918 GB, free: 18.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/1.135, allocations: 10.06 kB / 0.918 GB, free: 18.07 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007695/1.136, allocations: 213.5 kB / 0.9182 GB, free: 18.07 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/1.136, allocations: 14.47 kB / 0.9182 GB, free: 18.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/1.138, allocations: 122.9 kB / 0.9183 GB, free: 18.06 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.82e-05/1.138, allocations: 44.36 kB / 0.9184 GB, free: 18.06 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.0002848/1.138, allocations: 240.1 kB / 0.9186 GB, free: 17.88 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003086/1.139, allocations: 156.8 kB / 0.9187 GB, free: 17.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/1.14, allocations: 0.8199 MB / 0.9196 GB, free: 17.74 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.934e-06/1.14, allocations: 8.375 kB / 0.9196 GB, free: 17.74 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.14, allocations: 4 kB / 0.9196 GB, free: 17.74 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007861/1.141, allocations: 0.7803 MB / 0.9203 GB, free: 17.49 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003658/1.145, allocations: 2.295 MB / 0.9226 GB, free: 17.11 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/1.145, allocations: 3.281 kB / 0.9226 GB, free: 17.11 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007797/1.145, allocations: 172.7 kB / 0.9227 GB, free: 17.11 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/1.145, allocations: 3.531 kB / 0.9227 GB, free: 17.11 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.03e-05/1.146, allocations: 20.98 kB / 0.9228 GB, free: 17.11 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/1.146, allocations: 6.125 kB / 0.9228 GB, free: 17.11 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.146, allocations: 2.906 kB / 0.9228 GB, free: 17.11 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/1.147, allocations: 1.309 MB / 0.924 GB, free: 16.84 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006992/1.148, allocations: 318.7 kB / 0.9243 GB, free: 16.67 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003392/1.148, allocations: 22.17 kB / 0.9244 GB, free: 16.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/1.149, allocations: 102.8 kB / 0.9245 GB, free: 16.65 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/1.15, allocations: 45.66 kB / 0.9245 GB, free: 16.65 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.43e-05/1.15, allocations: 29.62 kB / 0.9245 GB, free: 16.65 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001247/1.151, allocations: 0.9141 MB / 0.9254 GB, free: 16.54 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.1e-07/1.151, allocations: 0.7812 kB / 0.9254 GB, free: 16.54 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002485/1.153, allocations: 0.842 MB / 0.9263 GB, free: 16.43 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.0005628/1.154, allocations: 258.1 kB / 0.9265 GB, free: 16.34 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002353/1.156, allocations: 1.443 MB / 0.9279 GB, free: 16.31 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.156, allocations: 0 / 0.9279 GB, free: 16.31 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004144/1.157, allocations: 348.6 kB / 0.9282 GB, free: 16.31 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003853/1.161, allocations: 0.8424 MB / 0.9291 GB, free: 16.22 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/1.165, allocations: 3.489 MB / 0.9325 GB, free: 14.32 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009255/1.166, allocations: 1.348 MB / 0.9338 GB, free: 13.59 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001899/1.168, allocations: 416.6 kB / 0.9342 GB, free: 13.49 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/1.168, allocations: 116.9 kB / 0.9343 GB, free: 13.48 MB / 0.67 GB Notification: Performance of SimCode: time 8.31e-07/1.168, allocations: 0 / 0.9343 GB, free: 13.48 MB / 0.67 GB Notification: Performance of Templates: time 0.04338/1.212, allocations: 28.95 MB / 0.9626 GB, free: 6.812 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)