Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005508/0.005508, allocations: 105.3 kB / 15.73 MB, free: 6.047 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.001164/0.001165, allocations: 189.2 kB / 16.67 MB, free: 5.977 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9679/0.9679, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.89 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3861, allocations: 80.91 MB / 0.6647 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.8256/1.212, allocations: 328.4 MB / 0.9854 GB, free: 60 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03433/1.246, allocations: 30.04 MB / 1.015 GB, free: 5.965 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004074/1.25, allocations: 99.62 kB / 1.015 GB, free: 5.965 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005148/1.255, allocations: 2.174 MB / 1.017 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0132/1.269, allocations: 5.149 MB / 1.022 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.009378/1.278, allocations: 3.707 MB / 1.026 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01006/1.288, allocations: 6.934 MB / 1.032 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004141/1.292, allocations: 2.867 MB / 1.035 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01478/1.307, allocations: 5.469 MB / 1.04 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005217/1.312, allocations: 2.407 MB / 1.043 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001117/1.313, allocations: 296 kB / 1.043 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01099/1.324, allocations: 4.817 MB / 1.048 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002358/1.327, allocations: 1.063 MB / 1.049 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004091/1.331, allocations: 1.742 MB / 1.051 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01549/1.346, allocations: 5.753 MB / 1.056 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/1.347, allocations: 0 / 1.056 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.823e-06/1.347, allocations: 0 / 1.056 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001308/1.347, allocations: 0 / 1.056 GB, free: 13.93 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.008007/1.355, allocations: 3.704 MB / 1.06 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.355, allocations: 8.031 kB / 1.06 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009916/1.365, allocations: 1.471 MB / 1.061 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00419/1.369, allocations: 2.061 MB / 1.063 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/1.369, allocations: 172.1 kB / 1.063 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003762/1.369, allocations: 220 kB / 1.064 GB, free: 6.125 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006295/1.376, allocations: 3.039 MB / 1.067 GB, free: 2.949 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/1.376, allocations: 7.875 kB / 1.067 GB, free: 2.941 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002584/1.376, allocations: 91.98 kB / 1.067 GB, free: 2.852 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.685e-05/1.376, allocations: 88 kB / 1.067 GB, free: 2.762 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007006/1.383, allocations: 3.115 MB / 1.07 GB, free: 15.63 MB / 0.7637 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.02081/1.404, allocations: 14.02 MB / 1.084 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003973/1.408, allocations: 1.657 MB / 1.085 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/1.41, allocations: 0.7704 MB / 1.086 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005791/1.41, allocations: 325.2 kB / 1.086 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/1.41, allocations: 55.48 kB / 1.086 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001005/1.411, allocations: 198.1 kB / 1.086 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=110): time 3.056e-06/1.411, allocations: 4 kB / 1.086 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=110): time 0.005712/1.417, allocations: 2.352 MB / 1.089 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/1.417, allocations: 64.41 kB / 1.089 GB, free: 11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003609/1.421, allocations: 2.517 MB / 1.091 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001686/1.421, allocations: 57.7 kB / 1.091 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009643/1.422, allocations: 1.268 MB / 1.093 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/1.422, allocations: 386.5 kB / 1.093 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006365/1.423, allocations: 391 kB / 1.093 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.822e-05/1.423, allocations: 305.1 kB / 1.094 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002533/1.426, allocations: 0.965 MB / 1.095 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002976/1.429, allocations: 1.583 MB / 1.096 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004686/1.433, allocations: 2.257 MB / 1.098 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/1.433, allocations: 4 kB / 1.098 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006592/1.44, allocations: 2.778 MB / 1.101 GB, free: 13.96 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.185e-05/1.44, allocations: 77.42 kB / 1.101 GB, free: 13.88 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/1.44, allocations: 16.06 kB / 1.101 GB, free: 13.86 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.237e-05/1.44, allocations: 20 kB / 1.101 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/1.443, allocations: 0.5538 MB / 1.102 GB, free: 13.29 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/1.444, allocations: 2.403 MB / 1.104 GB, free: 10.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003738/1.448, allocations: 282.3 kB / 1.104 GB, free: 10.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003074/1.448, allocations: 87.95 kB / 1.104 GB, free: 10.43 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003713/1.452, allocations: 1.394 MB / 1.106 GB, free: 9.031 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003276/1.455, allocations: 1.587 MB / 1.107 GB, free: 7.176 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004915/1.46, allocations: 2.242 MB / 1.109 GB, free: 4.734 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.785e-05/1.46, allocations: 7.938 kB / 1.109 GB, free: 4.727 MB / 0.795 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.007304/1.468, allocations: 2.777 MB / 1.112 GB, free: 1.926 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.398e-05/1.468, allocations: 71.39 kB / 1.112 GB, free: 1.844 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/1.468, allocations: 16 kB / 1.112 GB, free: 1.828 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/1.468, allocations: 27.94 kB / 1.112 GB, free: 1.801 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/1.47, allocations: 0.5114 MB / 1.113 GB, free: 1.289 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.15e-05/1.471, allocations: 31.86 kB / 1.113 GB, free: 1.258 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/1.474, allocations: 296.2 kB / 1.113 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/1.474, allocations: 95.88 kB / 1.113 GB, free: 0.875 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (masExcRev.i2_w,masExcRev.i1_w,masExcFor.i2_w,masExcFor.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005983/1.475, allocations: 291.8 kB / 1.113 GB, free: 0.582 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006865/1.476, allocations: 256.8 kB / 1.114 GB, free: 336 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004751/1.48, allocations: 1.851 MB / 1.115 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-05/1.48, allocations: 12 kB / 1.116 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.48, allocations: 7.984 kB / 1.116 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/1.48, allocations: 3.984 kB / 1.116 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008949/1.489, allocations: 4.493 MB / 1.12 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/1.489, allocations: 8 kB / 1.12 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/1.491, allocations: 299.8 kB / 1.12 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.811e-05/1.491, allocations: 12 kB / 1.12 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.51e-05/1.491, allocations: 39.92 kB / 1.12 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/1.493, allocations: 2.367 MB / 1.123 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/1.493, allocations: 4 kB / 1.123 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004221/1.497, allocations: 1.983 MB / 1.124 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/1.498, allocations: 0.5211 MB / 1.125 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005079/1.498, allocations: 31.98 kB / 1.125 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002419/1.501, allocations: 181.2 kB / 1.125 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/1.501, allocations: 76.78 kB / 1.125 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/1.501, allocations: 63.95 kB / 1.125 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003054/1.504, allocations: 1.723 MB / 1.127 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.4e-07/1.504, allocations: 4 kB / 1.127 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003538/1.508, allocations: 1.283 MB / 1.128 GB, free: 1.008 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008638/1.509, allocations: 379.1 kB / 1.129 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.009405/1.518, allocations: 3.589 MB / 1.132 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.518, allocations: 4 kB / 1.132 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002077/1.52, allocations: 0.8076 MB / 1.133 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006786/1.527, allocations: 1.19 MB / 1.134 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009873/1.537, allocations: 4.248 MB / 1.138 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001962/1.539, allocations: 1.697 MB / 1.14 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004198/1.543, allocations: 0.7816 MB / 1.141 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008489/1.544, allocations: 195.3 kB / 1.141 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of SimCode: time 1.112e-06/1.544, allocations: 0 / 1.141 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of Templates: time 0.07553/1.62, allocations: 45.9 MB / 1.186 GB, free: 6.57 MB / 0.8731 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)