Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00105/0.00105, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001044/0.001044, allocations: 187 kB / 17.34 MB, free: 5.762 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7832/0.7832, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 61.03 kB / 0.582 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1697, allocations: 80.2 MB / 0.6604 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7639/0.9336, allocations: 328.4 MB / 0.981 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03769/0.9713, allocations: 30.05 MB / 1.01 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004629/0.976, allocations: 99.44 kB / 1.01 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006184/0.9822, allocations: 2.093 MB / 1.013 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01343/0.9957, allocations: 4.944 MB / 1.017 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.009351/1.005, allocations: 3.665 MB / 1.021 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01042/1.016, allocations: 6.924 MB / 1.028 GB, free: 13.24 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004865/1.02, allocations: 2.867 MB / 1.03 GB, free: 10.31 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01384/1.034, allocations: 5.339 MB / 1.036 GB, free: 4.977 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005218/1.04, allocations: 2.413 MB / 1.038 GB, free: 2.57 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001191/1.041, allocations: 296 kB / 1.038 GB, free: 2.281 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01022/1.051, allocations: 4.813 MB / 1.043 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001891/1.053, allocations: 1.063 MB / 1.044 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.003109/1.056, allocations: 1.73 MB / 1.046 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01195/1.068, allocations: 5.773 MB / 1.051 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/1.068, allocations: 4 kB / 1.051 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.945e-06/1.068, allocations: 3.938 kB / 1.051 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001157/1.068, allocations: 0 / 1.051 GB, free: 4.855 MB / 0.8106 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.008716/1.077, allocations: 3.681 MB / 1.055 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/1.077, allocations: 12.03 kB / 1.055 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3833/1.46, allocations: 1.466 MB / 1.056 GB, free: 318.8 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004689/1.465, allocations: 2.067 MB / 1.058 GB, free: 318.3 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/1.465, allocations: 172.7 kB / 1.059 GB, free: 318.3 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004548/1.466, allocations: 222.7 kB / 1.059 GB, free: 318.3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006398/1.472, allocations: 3.03 MB / 1.062 GB, free: 317.1 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/1.472, allocations: 10.52 kB / 1.062 GB, free: 317.1 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002759/1.472, allocations: 90.06 kB / 1.062 GB, free: 317 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/1.473, allocations: 90.12 kB / 1.062 GB, free: 317 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008361/1.481, allocations: 3.104 MB / 1.065 GB, free: 316 MB / 0.8106 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.02359/1.505, allocations: 14.02 MB / 1.079 GB, free: 306.1 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004334/1.509, allocations: 1.657 MB / 1.08 GB, free: 305.6 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/1.511, allocations: 0.7739 MB / 1.081 GB, free: 305.2 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005641/1.511, allocations: 334.9 kB / 1.081 GB, free: 304.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/1.511, allocations: 46.19 kB / 1.081 GB, free: 304.8 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00158/1.513, allocations: 203.5 kB / 1.082 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 6.362e-06/1.513, allocations: 0 / 1.082 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=110): time 0.006158/1.519, allocations: 2.355 MB / 1.084 GB, free: 303.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/1.519, allocations: 67.12 kB / 1.084 GB, free: 303.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004078/1.523, allocations: 2.516 MB / 1.086 GB, free: 302.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003148/1.524, allocations: 58.92 kB / 1.087 GB, free: 302.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007236/1.524, allocations: 1.275 MB / 1.088 GB, free: 301 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/1.525, allocations: 387.4 kB / 1.088 GB, free: 300.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007407/1.525, allocations: 388.9 kB / 1.089 GB, free: 300.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.698e-05/1.525, allocations: 302.3 kB / 1.089 GB, free: 300.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003216/1.529, allocations: 0.9552 MB / 1.09 GB, free: 299.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002922/1.532, allocations: 1.587 MB / 1.091 GB, free: 298.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00433/1.536, allocations: 2.257 MB / 1.093 GB, free: 297.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-05/1.536, allocations: 3.969 kB / 1.093 GB, free: 297.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006282/1.542, allocations: 2.788 MB / 1.096 GB, free: 295.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.65e-05/1.542, allocations: 71.08 kB / 1.096 GB, free: 295.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/1.542, allocations: 19.66 kB / 1.096 GB, free: 295.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.832e-05/1.542, allocations: 23.78 kB / 1.096 GB, free: 295.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002759/1.545, allocations: 0.5538 MB / 1.097 GB, free: 295.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008935/1.546, allocations: 2.394 MB / 1.099 GB, free: 293.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00357/1.55, allocations: 290.4 kB / 1.099 GB, free: 293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002426/1.55, allocations: 94.83 kB / 1.1 GB, free: 292.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003112/1.553, allocations: 1.391 MB / 1.101 GB, free: 292.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002465/1.556, allocations: 1.581 MB / 1.102 GB, free: 290.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003963/1.56, allocations: 2.243 MB / 1.105 GB, free: 289.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.069e-05/1.56, allocations: 3.656 kB / 1.105 GB, free: 289.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006016/1.566, allocations: 2.774 MB / 1.107 GB, free: 286.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.121e-05/1.566, allocations: 75.39 kB / 1.107 GB, free: 286.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/1.566, allocations: 12 kB / 1.107 GB, free: 286.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/1.566, allocations: 24 kB / 1.107 GB, free: 286.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/1.568, allocations: 0.5074 MB / 1.108 GB, free: 286.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.413e-05/1.568, allocations: 31.92 kB / 1.108 GB, free: 286.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003379/1.571, allocations: 294 kB / 1.108 GB, free: 286 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/1.572, allocations: 91.95 kB / 1.108 GB, free: 285.9 MB / 0.8106 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.0005428/1.572, allocations: 303.6 kB / 1.109 GB, free: 285.6 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005713/1.573, allocations: 256.8 kB / 1.109 GB, free: 285.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003843/1.577, allocations: 1.846 MB / 1.111 GB, free: 283.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/1.577, allocations: 11.94 kB / 1.111 GB, free: 283.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.577, allocations: 10.31 kB / 1.111 GB, free: 283.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/1.577, allocations: 3.984 kB / 1.111 GB, free: 283.4 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007241/1.584, allocations: 4.502 MB / 1.115 GB, free: 278.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/1.584, allocations: 8 kB / 1.115 GB, free: 278.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/1.586, allocations: 303.8 kB / 1.115 GB, free: 278.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/1.586, allocations: 8 kB / 1.115 GB, free: 278.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.006e-05/1.586, allocations: 31.98 kB / 1.115 GB, free: 278.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007145/1.586, allocations: 2.368 MB / 1.118 GB, free: 276 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.586, allocations: 11.94 kB / 1.118 GB, free: 276 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003796/1.59, allocations: 1.967 MB / 1.12 GB, free: 273.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/1.591, allocations: 0.5328 MB / 1.12 GB, free: 273.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003481/1.592, allocations: 23.98 kB / 1.12 GB, free: 273.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/1.594, allocations: 182.5 kB / 1.12 GB, free: 273.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/1.594, allocations: 84.72 kB / 1.121 GB, free: 273.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/1.594, allocations: 59.95 kB / 1.121 GB, free: 273.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002368/1.597, allocations: 1.731 MB / 1.122 GB, free: 271.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/1.597, allocations: 0 / 1.122 GB, free: 271.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003361/1.6, allocations: 1.286 MB / 1.124 GB, free: 270 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.000735/1.601, allocations: 377.8 kB / 1.124 GB, free: 269.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.007559/1.608, allocations: 3.591 MB / 1.127 GB, free: 266.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.608, allocations: 4 kB / 1.127 GB, free: 266.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/1.61, allocations: 0.8152 MB / 1.128 GB, free: 265.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005901/1.616, allocations: 1.191 MB / 1.129 GB, free: 264.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006684/1.623, allocations: 4.33 MB / 1.134 GB, free: 259.7 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008439/1.624, allocations: 1.68 MB / 1.135 GB, free: 258 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/1.625, allocations: 223.3 kB / 1.135 GB, free: 257.8 MB / 0.8106 GB Notification: Performance of SimCode: time 2.114e-06/1.625, allocations: 0 / 1.135 GB, free: 257.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.07354/1.698, allocations: 86.08 MB / 1.219 GB, free: 171.9 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)