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.001107/0.001107, allocations: 114.5 kB / 16.42 MB, free: 6.039 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.001074/0.001074, allocations: 186.2 kB / 17.34 MB, free: 5.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.296/1.296, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.864/0.864, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 62.58 kB / 0.582 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1269, allocations: 80.21 MB / 0.6604 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.5986/0.7255, allocations: 328.4 MB / 0.9811 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03431/0.7598, allocations: 30.04 MB / 1.01 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003197/0.763, allocations: 99.44 kB / 1.01 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00488/0.7679, allocations: 2.167 MB / 1.013 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01175/0.7797, allocations: 5.156 MB / 1.018 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.008503/0.7883, allocations: 3.705 MB / 1.021 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008536/0.7968, allocations: 6.942 MB / 1.028 GB, free: 13.07 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004185/0.801, allocations: 2.861 MB / 1.031 GB, free: 10.15 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01178/0.8128, allocations: 5.461 MB / 1.036 GB, free: 4.699 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004266/0.8171, allocations: 2.409 MB / 1.039 GB, free: 2.293 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0008536/0.8179, allocations: 296 kB / 1.039 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009935/0.8279, allocations: 4.821 MB / 1.044 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001463/0.8294, allocations: 1.071 MB / 1.045 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002951/0.8323, allocations: 1.738 MB / 1.046 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.009448/0.8418, allocations: 5.781 MB / 1.052 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8418, allocations: 0 / 1.052 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8418, allocations: 0 / 1.052 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001328/0.842, allocations: 0 / 1.052 GB, free: 4.551 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.008187/0.8502, allocations: 3.8 MB / 1.056 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.8502, allocations: 8.031 kB / 1.056 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3025/1.153, allocations: 1.48 MB / 1.057 GB, free: 320 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004172/1.157, allocations: 2.089 MB / 1.059 GB, free: 319.4 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/1.157, allocations: 167.4 kB / 1.059 GB, free: 319.3 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003609/1.157, allocations: 223.1 kB / 1.059 GB, free: 319.3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00581/1.163, allocations: 3.039 MB / 1.062 GB, free: 318 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.362e-05/1.163, allocations: 2.625 kB / 1.062 GB, free: 318 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/1.164, allocations: 86.44 kB / 1.063 GB, free: 317.9 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-05/1.164, allocations: 89.89 kB / 1.063 GB, free: 317.9 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007497/1.171, allocations: 3.105 MB / 1.066 GB, free: 316.9 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.01919/1.19, allocations: 14.06 MB / 1.079 GB, free: 307.1 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003629/1.194, allocations: 1.666 MB / 1.081 GB, free: 306.3 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/1.196, allocations: 0.7672 MB / 1.082 GB, free: 305.9 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005349/1.196, allocations: 329.9 kB / 1.082 GB, free: 305.6 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/1.196, allocations: 49.59 kB / 1.082 GB, free: 305.6 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009522/1.197, allocations: 207.1 kB / 1.082 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 3.888e-06/1.197, allocations: 2.844 kB / 1.082 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=110): time 0.005322/1.202, allocations: 2.364 MB / 1.085 GB, free: 304.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/1.202, allocations: 62.88 kB / 1.085 GB, free: 304.3 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/1.206, allocations: 2.521 MB / 1.087 GB, free: 302.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001718/1.206, allocations: 60.08 kB / 1.087 GB, free: 302.9 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006723/1.207, allocations: 1.297 MB / 1.088 GB, free: 301.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/1.207, allocations: 405.9 kB / 1.089 GB, free: 301.4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000626/1.207, allocations: 398 kB / 1.089 GB, free: 301.2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.622e-05/1.208, allocations: 304.4 kB / 1.09 GB, free: 300.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/1.21, allocations: 0.9599 MB / 1.09 GB, free: 300.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002504/1.212, allocations: 1.587 MB / 1.092 GB, free: 299.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003752/1.216, allocations: 2.253 MB / 1.094 GB, free: 297.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/1.216, allocations: 7.969 kB / 1.094 GB, free: 297.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00547/1.222, allocations: 2.79 MB / 1.097 GB, free: 296.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.678e-05/1.222, allocations: 71.3 kB / 1.097 GB, free: 296.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/1.222, allocations: 20.59 kB / 1.097 GB, free: 296.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/1.222, allocations: 19.78 kB / 1.097 GB, free: 296.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/1.224, allocations: 0.5545 MB / 1.098 GB, free: 296.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007482/1.225, allocations: 2.401 MB / 1.1 GB, free: 293.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00302/1.228, allocations: 288.2 kB / 1.1 GB, free: 293.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/1.228, allocations: 94.53 kB / 1.1 GB, free: 293.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002807/1.231, allocations: 1.39 MB / 1.102 GB, free: 292.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002493/1.234, allocations: 1.583 MB / 1.103 GB, free: 291.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00392/1.238, allocations: 2.243 MB / 1.105 GB, free: 290 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-05/1.238, allocations: 6.062 kB / 1.105 GB, free: 290 MB / 0.8106 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.005442/1.243, allocations: 2.789 MB / 1.108 GB, free: 287.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/1.243, allocations: 75.39 kB / 1.108 GB, free: 287.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.243, allocations: 12 kB / 1.108 GB, free: 287.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/1.243, allocations: 24 kB / 1.108 GB, free: 287.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/1.246, allocations: 0.5106 MB / 1.109 GB, free: 286.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.386e-05/1.246, allocations: 39.86 kB / 1.109 GB, free: 286.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/1.249, allocations: 284.3 kB / 1.109 GB, free: 286.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/1.249, allocations: 91.95 kB / 1.109 GB, free: 286.2 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.0004099/1.249, allocations: 299.6 kB / 1.109 GB, free: 285.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003885/1.25, allocations: 272.4 kB / 1.11 GB, free: 285.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00368/1.253, allocations: 1.846 MB / 1.111 GB, free: 283.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/1.253, allocations: 3.984 kB / 1.111 GB, free: 283.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.253, allocations: 4 kB / 1.111 GB, free: 283.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007853/1.254, allocations: 0.5303 MB / 1.112 GB, free: 283.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003356/1.254, allocations: 24 kB / 1.112 GB, free: 283.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002005/1.256, allocations: 167.8 kB / 1.112 GB, free: 283.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/1.257, allocations: 60.86 kB / 1.112 GB, free: 283 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003986/1.261, allocations: 1.74 MB / 1.114 GB, free: 281.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004743/1.265, allocations: 2.808 MB / 1.117 GB, free: 278.5 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001667/1.267, allocations: 0.7183 MB / 1.117 GB, free: 277.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002514/1.269, allocations: 1.727 MB / 1.119 GB, free: 276 MB / 0.8106 GB Notification: Performance of Backend: time 3e-07/1.269, allocations: 0 / 1.119 GB, free: 276 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.008973/1.278, allocations: 3.94 MB / 1.123 GB, free: 272.2 MB / 0.8106 GB Notification: Performance of SimCode: time 0.008203/1.287, allocations: 5.119 MB / 1.128 GB, free: 267.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.07667/1.363, allocations: 66.04 MB / 1.192 GB, free: 201.5 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)