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.00184/0.00184, allocations: 103.9 kB / 16.4 MB, free: 6.004 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.002201/0.002201, allocations: 191.9 kB / 17.34 MB, free: 5.582 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.425/1.425, allocations: 222.9 MB / 241.1 MB, free: 14.95 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8401/0.8401, allocations: 135.2 MB / 426.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 70.06 kB / 0.5864 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1705, allocations: 80.93 MB / 0.6654 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7496/0.9201, allocations: 329.1 MB / 0.9868 GB, free: 5.617 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.04353/0.9636, allocations: 30.09 MB / 1.016 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004773/0.9684, allocations: 99.44 kB / 1.016 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006694/0.9751, allocations: 2.183 MB / 1.018 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01714/0.9922, allocations: 5.153 MB / 1.023 GB, free: 15.98 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01036/1.003, allocations: 3.711 MB / 1.027 GB, free: 12.29 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01239/1.015, allocations: 6.911 MB / 1.034 GB, free: 5.352 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004954/1.02, allocations: 2.41 MB / 1.036 GB, free: 2.883 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01559/1.036, allocations: 5.477 MB / 1.042 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005861/1.041, allocations: 2.438 MB / 1.044 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001306/1.043, allocations: 296 kB / 1.044 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01129/1.054, allocations: 4.825 MB / 1.049 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002314/1.056, allocations: 1.098 MB / 1.05 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.004019/1.06, allocations: 1.738 MB / 1.052 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.5457/1.606, allocations: 5.802 MB / 1.057 GB, free: 22.38 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.606, allocations: 0 / 1.057 GB, free: 22.38 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.593e-06/1.606, allocations: 0 / 1.057 GB, free: 22.38 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002004/1.606, allocations: 1.219 kB / 1.057 GB, free: 22.38 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.01251/1.619, allocations: 3.774 MB / 1.061 GB, free: 20.62 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/1.619, allocations: 10.36 kB / 1.061 GB, free: 20.62 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/1.63, allocations: 1.194 MB / 1.062 GB, free: 20.45 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006017/1.636, allocations: 2.099 MB / 1.064 GB, free: 19.87 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/1.636, allocations: 171.8 kB / 1.064 GB, free: 19.86 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/1.637, allocations: 221.6 kB / 1.065 GB, free: 19.86 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008538/1.645, allocations: 2.99 MB / 1.068 GB, free: 19.63 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.023e-05/1.645, allocations: 2.531 kB / 1.068 GB, free: 19.63 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004078/1.646, allocations: 91.23 kB / 1.068 GB, free: 19.63 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/1.646, allocations: 90.14 kB / 1.068 GB, free: 19.62 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009432/1.655, allocations: 3.104 MB / 1.071 GB, free: 19.59 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.02694/1.682, allocations: 13.15 MB / 1.084 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00418/1.687, allocations: 1.616 MB / 1.085 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/1.688, allocations: 0.7929 MB / 1.086 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005734/1.689, allocations: 333.5 kB / 1.086 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/1.689, allocations: 48.12 kB / 1.086 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002824/1.692, allocations: 429.6 kB / 1.087 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 1.011e-05/1.692, allocations: 2 kB / 1.087 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=110): time 0.006981/1.699, allocations: 2.563 MB / 1.089 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/1.699, allocations: 65.34 kB / 1.089 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006036/1.705, allocations: 2.513 MB / 1.092 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0006587/1.706, allocations: 58.2 kB / 1.092 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001296/1.707, allocations: 1.296 MB / 1.093 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007011/1.708, allocations: 409.5 kB / 1.093 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/1.709, allocations: 417.2 kB / 1.094 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 6.837e-05/1.709, allocations: 308.7 kB / 1.094 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00349/1.712, allocations: 1.018 MB / 1.095 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004215/1.717, allocations: 1.646 MB / 1.097 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006879/1.723, allocations: 2.374 MB / 1.099 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-05/1.723, allocations: 6.812 kB / 1.099 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01119/1.735, allocations: 2.935 MB / 1.102 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/1.735, allocations: 70.39 kB / 1.102 GB, free: 9.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-05/1.735, allocations: 13.88 kB / 1.102 GB, free: 9.609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.421e-05/1.735, allocations: 27.53 kB / 1.102 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004411/1.739, allocations: 0.5823 MB / 1.103 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/1.741, allocations: 2.388 MB / 1.105 GB, free: 23.25 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004874/1.746, allocations: 285.6 kB / 1.105 GB, free: 23.23 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005506/1.746, allocations: 104.5 kB / 1.105 GB, free: 23.23 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004041/1.75, allocations: 1.444 MB / 1.107 GB, free: 23.13 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003107/1.754, allocations: 1.642 MB / 1.108 GB, free: 22.38 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004844/1.758, allocations: 2.368 MB / 1.111 GB, free: 21.77 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-05/1.758, allocations: 2.719 kB / 1.111 GB, free: 21.77 MB / 0.8263 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.007837/1.766, allocations: 2.93 MB / 1.114 GB, free: 21.46 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.484e-05/1.766, allocations: 80.36 kB / 1.114 GB, free: 21.39 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.1e-05/1.766, allocations: 13.5 kB / 1.114 GB, free: 21.39 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.555e-05/1.766, allocations: 20.66 kB / 1.114 GB, free: 21.39 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002674/1.769, allocations: 0.5297 MB / 1.114 GB, free: 21.38 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.179e-05/1.769, allocations: 37.64 kB / 1.114 GB, free: 21.38 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004104/1.773, allocations: 299.9 kB / 1.114 GB, free: 21.36 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004147/1.774, allocations: 103.5 kB / 1.115 GB, free: 21.36 MB / 0.8263 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.0008976/1.775, allocations: 294.8 kB / 1.115 GB, free: 21.18 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009582/1.776, allocations: 274 kB / 1.115 GB, free: 21.03 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005076/1.781, allocations: 1.991 MB / 1.117 GB, free: 20.91 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/1.781, allocations: 10.66 kB / 1.117 GB, free: 20.91 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.781, allocations: 0 / 1.117 GB, free: 20.91 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/1.781, allocations: 5.953 kB / 1.117 GB, free: 20.91 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/1.791, allocations: 4.585 MB / 1.122 GB, free: 20.33 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/1.791, allocations: 9.875 kB / 1.122 GB, free: 20.32 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/1.793, allocations: 310.6 kB / 1.122 GB, free: 20.31 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.901e-05/1.793, allocations: 7.844 kB / 1.122 GB, free: 20.31 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/1.793, allocations: 34.92 kB / 1.122 GB, free: 20.31 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/1.795, allocations: 2.368 MB / 1.124 GB, free: 17.96 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.795, allocations: 9.688 kB / 1.124 GB, free: 17.96 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004623/1.799, allocations: 2.053 MB / 1.126 GB, free: 17.45 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001849/1.801, allocations: 0.5506 MB / 1.127 GB, free: 17.21 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/1.802, allocations: 30.02 kB / 1.127 GB, free: 17.21 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00308/1.805, allocations: 175.8 kB / 1.127 GB, free: 17.2 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/1.806, allocations: 83.12 kB / 1.127 GB, free: 17.19 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002542/1.806, allocations: 62.28 kB / 1.127 GB, free: 17.19 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.003876/1.81, allocations: 1.731 MB / 1.129 GB, free: 17.04 MB / 0.8263 GB Notification: Performance of sort global known variables: time 9e-08/1.81, allocations: 0 / 1.129 GB, free: 17.04 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.00612/1.816, allocations: 1.308 MB / 1.13 GB, free: 16.91 MB / 0.8263 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.001136/1.817, allocations: 377.1 kB / 1.13 GB, free: 16.76 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.009616/1.827, allocations: 3.605 MB / 1.134 GB, free: 16.43 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.629e-05/1.827, allocations: 2.75 kB / 1.134 GB, free: 16.43 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.002118/1.829, allocations: 0.8099 MB / 1.135 GB, free: 16.42 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007774/1.837, allocations: 1.196 MB / 1.136 GB, free: 16.21 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008896/1.845, allocations: 4.451 MB / 1.14 GB, free: 14.41 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/1.847, allocations: 1.684 MB / 1.142 GB, free: 13.64 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001467/1.849, allocations: 231.9 kB / 1.142 GB, free: 13.64 MB / 0.8263 GB Notification: Performance of SimCode: time 1.282e-06/1.849, allocations: 4 kB / 1.142 GB, free: 13.63 MB / 0.8263 GB Notification: Performance of Templates: time 0.1111/1.96, allocations: 87.46 MB / 1.228 GB, free: 15.57 MB / 0.9044 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)