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.005909/0.005909, allocations: 103 kB / 15.88 MB, free: 6.332 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.001331/0.001331, allocations: 196 kB / 16.79 MB, free: 6.258 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.336/1.336, allocations: 222.9 MB / 240.5 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9856/0.9856, allocations: 135.1 MB / 425.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.81 kB / 0.5053 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1727, allocations: 80.92 MB / 0.5843 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6287/0.8015, allocations: 272.5 MB / 0.8504 GB, free: 12.67 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.3924/1.194, allocations: 17.44 MB / 0.8675 GB, free: 27.75 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00288/1.197, allocations: 64.38 kB / 0.8675 GB, free: 27.75 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003233/1.2, allocations: 1.001 MB / 0.8685 GB, free: 27.75 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007514/1.208, allocations: 2.919 MB / 0.8714 GB, free: 27.72 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005147/1.213, allocations: 2.017 MB / 0.8733 GB, free: 27.67 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007669/1.221, allocations: 6.728 MB / 0.8799 GB, free: 27.66 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002623/1.223, allocations: 1.473 MB / 0.8813 GB, free: 27.52 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006125/1.229, allocations: 2.115 MB / 0.8834 GB, free: 27.49 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004257/1.234, allocations: 1.585 MB / 0.8849 GB, free: 27.49 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005803/1.234, allocations: 94.91 kB / 0.885 GB, free: 27.49 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007913/1.242, allocations: 3.424 MB / 0.8884 GB, free: 27.46 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001431/1.244, allocations: 0.6381 MB / 0.889 GB, free: 27.46 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0027/1.246, allocations: 1.021 MB / 0.89 GB, free: 27.45 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004971/1.251, allocations: 2.853 MB / 0.8928 GB, free: 27.26 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/1.251, allocations: 0 / 0.8928 GB, free: 27.26 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.663e-06/1.251, allocations: 0.8125 kB / 0.8928 GB, free: 27.26 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.121e-05/1.251, allocations: 2.906 kB / 0.8928 GB, free: 27.26 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.005023/1.256, allocations: 2.434 MB / 0.8952 GB, free: 26.06 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/1.257, allocations: 9.406 kB / 0.8952 GB, free: 26.06 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00472/1.261, allocations: 0.6391 MB / 0.8958 GB, free: 25.95 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002672/1.264, allocations: 1.337 MB / 0.8971 GB, free: 25.52 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-05/1.264, allocations: 100.9 kB / 0.8972 GB, free: 25.52 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002703/1.264, allocations: 138.6 kB / 0.8973 GB, free: 25.52 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/1.267, allocations: 1.574 MB / 0.8989 GB, free: 25.32 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/1.267, allocations: 2.562 kB / 0.8989 GB, free: 25.32 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/1.267, allocations: 56.56 kB / 0.8989 GB, free: 25.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.095e-05/1.268, allocations: 48.33 kB / 0.899 GB, free: 25.32 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/1.27, allocations: 1.266 MB / 0.9002 GB, free: 25.3 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.009068/1.279, allocations: 7.194 MB / 0.9072 GB, free: 21.41 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/1.28, allocations: 0.6601 MB / 0.9079 GB, free: 21.38 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/1.28, allocations: 367.9 kB / 0.9082 GB, free: 21.38 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/1.281, allocations: 110.4 kB / 0.9083 GB, free: 21.28 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/1.281, allocations: 46.56 kB / 0.9084 GB, free: 21.24 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001049/1.282, allocations: 145.1 kB / 0.9085 GB, free: 21.18 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 3.507e-06/1.282, allocations: 0 / 0.9085 GB, free: 21.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.001944/1.284, allocations: 1.016 MB / 0.9095 GB, free: 21.06 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/1.284, allocations: 58.09 kB / 0.9096 GB, free: 21 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/1.285, allocations: 1.335 MB / 0.9109 GB, free: 20.83 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/1.285, allocations: 45.52 kB / 0.9109 GB, free: 20.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/1.286, allocations: 0.776 MB / 0.9117 GB, free: 20.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/1.286, allocations: 243.6 kB / 0.9119 GB, free: 20.35 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002985/1.286, allocations: 201.3 kB / 0.9121 GB, free: 20.32 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.339e-05/1.286, allocations: 346.3 kB / 0.9124 GB, free: 20.02 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/1.287, allocations: 354.5 kB / 0.9128 GB, free: 20.01 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006823/1.288, allocations: 0.6807 MB / 0.9134 GB, free: 19.64 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/1.289, allocations: 0.9494 MB / 0.9144 GB, free: 19.38 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.289, allocations: 3.188 kB / 0.9144 GB, free: 19.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001893/1.291, allocations: 1.146 MB / 0.9155 GB, free: 19.26 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.291, allocations: 7.344 kB / 0.9155 GB, free: 19.26 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/1.291, allocations: 9.312 kB / 0.9155 GB, free: 19.26 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/1.291, allocations: 12.91 kB / 0.9155 GB, free: 19.26 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008925/1.292, allocations: 215.2 kB / 0.9157 GB, free: 19.26 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/1.292, allocations: 20.45 kB / 0.9157 GB, free: 19.25 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/1.294, allocations: 127.5 kB / 0.9159 GB, free: 19.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.232e-05/1.294, allocations: 42.84 kB / 0.9159 GB, free: 19.23 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001118/1.295, allocations: 0.6874 MB / 0.9166 GB, free: 19.15 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006543/1.295, allocations: 0.6761 MB / 0.9172 GB, free: 18.78 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001045/1.297, allocations: 0.944 MB / 0.9181 GB, free: 18.52 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.599e-06/1.297, allocations: 0 / 0.9181 GB, free: 18.52 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001702/1.298, allocations: 1.146 MB / 0.9193 GB, free: 18.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.298, allocations: 12.16 kB / 0.9193 GB, free: 18.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.298, allocations: 11.48 kB / 0.9193 GB, free: 18.39 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/1.298, allocations: 14.59 kB / 0.9193 GB, free: 18.39 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008378/1.299, allocations: 208 kB / 0.9195 GB, free: 18.39 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/1.299, allocations: 17.69 kB / 0.9195 GB, free: 18.39 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/1.301, allocations: 125.7 kB / 0.9196 GB, free: 18.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.926e-05/1.301, allocations: 50.77 kB / 0.9197 GB, free: 18.38 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.0002827/1.301, allocations: 237.7 kB / 0.9199 GB, free: 18.19 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/1.302, allocations: 155.7 kB / 0.9201 GB, free: 18.11 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/1.303, allocations: 0.8183 MB / 0.9209 GB, free: 18.05 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/1.303, allocations: 8.125 kB / 0.9209 GB, free: 18.05 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.303, allocations: 0 / 0.9209 GB, free: 18.05 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008194/1.304, allocations: 0.7805 MB / 0.9216 GB, free: 17.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003636/1.308, allocations: 2.305 MB / 0.9239 GB, free: 17.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/1.308, allocations: 1.203 kB / 0.9239 GB, free: 17.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008093/1.308, allocations: 171.4 kB / 0.924 GB, free: 17.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/1.308, allocations: 8.469 kB / 0.9241 GB, free: 17.41 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.114e-05/1.309, allocations: 15.41 kB / 0.9241 GB, free: 17.41 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/1.309, allocations: 5.094 kB / 0.9241 GB, free: 17.41 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.309, allocations: 2.531 kB / 0.9241 GB, free: 17.41 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/1.31, allocations: 1.314 MB / 0.9254 GB, free: 17.13 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007961/1.311, allocations: 313.1 kB / 0.9257 GB, free: 16.96 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/1.311, allocations: 19.2 kB / 0.9257 GB, free: 16.96 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/1.312, allocations: 94.17 kB / 0.9258 GB, free: 16.95 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.165e-05/1.312, allocations: 53.19 kB / 0.9258 GB, free: 16.94 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.782e-05/1.313, allocations: 31.06 kB / 0.9258 GB, free: 16.94 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001197/1.314, allocations: 0.9068 MB / 0.9267 GB, free: 16.83 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/1.314, allocations: 4 kB / 0.9267 GB, free: 16.83 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00224/1.316, allocations: 0.8401 MB / 0.9276 GB, free: 16.73 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.0005133/1.317, allocations: 259.8 kB / 0.9278 GB, free: 16.61 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001927/1.318, allocations: 1.326 MB / 0.9291 GB, free: 16.59 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.319, allocations: 0 / 0.9291 GB, free: 16.59 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004238/1.319, allocations: 347.3 kB / 0.9294 GB, free: 16.59 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003949/1.323, allocations: 0.8378 MB / 0.9302 GB, free: 16.53 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004348/1.327, allocations: 3.569 MB / 0.9337 GB, free: 14.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/1.328, allocations: 1.351 MB / 0.9351 GB, free: 13.87 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004612/1.328, allocations: 123.2 kB / 0.9352 GB, free: 13.86 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/1.328, allocations: 0 / 0.9352 GB, free: 13.86 MB / 0.67 GB Notification: Performance of Templates: time 0.03268/1.361, allocations: 25.29 MB / 0.9599 GB, free: 9.809 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)