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.001079/0.001079, allocations: 110.7 kB / 16.42 MB, free: 6.445 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.001014/0.001014, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.285/1.285, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7693/0.7693, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 64.41 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1284, allocations: 80.21 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.5826/0.711, allocations: 328.4 MB / 0.9811 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03436/0.7454, allocations: 30.05 MB / 1.01 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003508/0.749, allocations: 99.38 kB / 1.01 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.005355/0.7544, allocations: 2.167 MB / 1.013 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01289/0.7673, allocations: 5.145 MB / 1.018 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.009324/0.7766, allocations: 3.704 MB / 1.021 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.009302/0.786, allocations: 6.943 MB / 1.028 GB, free: 12.82 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0045/0.7905, allocations: 2.867 MB / 1.031 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01202/0.8025, allocations: 5.465 MB / 1.036 GB, free: 4.441 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004198/0.8067, allocations: 2.407 MB / 1.039 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0009453/0.8077, allocations: 296 kB / 1.039 GB, free: 1.75 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009153/0.8168, allocations: 4.821 MB / 1.044 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001548/0.8184, allocations: 1.071 MB / 1.045 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.003086/0.8215, allocations: 1.726 MB / 1.046 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.009389/0.8309, allocations: 5.761 MB / 1.052 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8309, allocations: 3.938 kB / 1.052 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.445e-06/0.8309, allocations: 0 / 1.052 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001468/0.8311, allocations: 3.938 kB / 1.052 GB, free: 4.324 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.008591/0.8397, allocations: 3.692 MB / 1.055 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.8397, allocations: 8.031 kB / 1.055 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.289/1.129, allocations: 1.466 MB / 1.057 GB, free: 319.6 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/1.133, allocations: 2.066 MB / 1.059 GB, free: 319.1 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/1.133, allocations: 170.6 kB / 1.059 GB, free: 319.1 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003509/1.134, allocations: 219.3 kB / 1.059 GB, free: 319.1 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005858/1.139, allocations: 3.034 MB / 1.062 GB, free: 318 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.12e-05/1.14, allocations: 7 kB / 1.062 GB, free: 317.9 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002441/1.14, allocations: 89.69 kB / 1.062 GB, free: 317.9 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-05/1.14, allocations: 93.58 kB / 1.062 GB, free: 317.9 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007486/1.147, allocations: 3.103 MB / 1.065 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.01987/1.167, allocations: 14.04 MB / 1.079 GB, free: 307 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003705/1.171, allocations: 1.654 MB / 1.081 GB, free: 306.3 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/1.173, allocations: 0.7772 MB / 1.082 GB, free: 305.9 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005085/1.173, allocations: 321.9 kB / 1.082 GB, free: 305.6 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/1.173, allocations: 51.59 kB / 1.082 GB, free: 305.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009813/1.174, allocations: 199.3 kB / 1.082 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 3.556e-06/1.174, allocations: 0 / 1.082 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=110): time 0.005354/1.179, allocations: 2.363 MB / 1.084 GB, free: 304.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/1.18, allocations: 63.75 kB / 1.084 GB, free: 304.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003242/1.183, allocations: 2.519 MB / 1.087 GB, free: 302.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/1.183, allocations: 55.08 kB / 1.087 GB, free: 302.9 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000684/1.184, allocations: 1.272 MB / 1.088 GB, free: 301.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/1.184, allocations: 390.6 kB / 1.089 GB, free: 301.4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005955/1.184, allocations: 389.8 kB / 1.089 GB, free: 301.2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.404e-05/1.184, allocations: 308.9 kB / 1.089 GB, free: 300.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/1.187, allocations: 0.9524 MB / 1.09 GB, free: 300.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002564/1.189, allocations: 1.587 MB / 1.092 GB, free: 299.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003874/1.193, allocations: 2.251 MB / 1.094 GB, free: 297.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/1.193, allocations: 3.969 kB / 1.094 GB, free: 297.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005959/1.199, allocations: 2.784 MB / 1.097 GB, free: 296.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/1.199, allocations: 75.27 kB / 1.097 GB, free: 296.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/1.199, allocations: 15.84 kB / 1.097 GB, free: 296.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/1.199, allocations: 20.5 kB / 1.097 GB, free: 296.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002741/1.202, allocations: 0.5549 MB / 1.097 GB, free: 296.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007696/1.203, allocations: 2.394 MB / 1.1 GB, free: 293.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003182/1.206, allocations: 285.3 kB / 1.1 GB, free: 293.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/1.206, allocations: 94.61 kB / 1.1 GB, free: 293.6 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002938/1.209, allocations: 1.391 MB / 1.101 GB, free: 292.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002455/1.212, allocations: 1.586 MB / 1.103 GB, free: 291.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003937/1.216, allocations: 2.251 MB / 1.105 GB, free: 289.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.395e-06/1.216, allocations: 4 kB / 1.105 GB, free: 289.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.005816/1.222, allocations: 2.771 MB / 1.108 GB, free: 287.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/1.222, allocations: 79.39 kB / 1.108 GB, free: 287 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/1.222, allocations: 12 kB / 1.108 GB, free: 287 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/1.222, allocations: 24 kB / 1.108 GB, free: 286.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002323/1.224, allocations: 0.5038 MB / 1.108 GB, free: 286.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.212e-05/1.224, allocations: 27.92 kB / 1.108 GB, free: 286.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/1.227, allocations: 300.6 kB / 1.109 GB, free: 286.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/1.227, allocations: 91.95 kB / 1.109 GB, free: 286 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.0004896/1.228, allocations: 303.6 kB / 1.109 GB, free: 285.7 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004629/1.228, allocations: 256.8 kB / 1.109 GB, free: 285.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00392/1.232, allocations: 1.845 MB / 1.111 GB, free: 283.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/1.232, allocations: 3.984 kB / 1.111 GB, free: 283.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.232, allocations: 6.328 kB / 1.111 GB, free: 283.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009856/1.233, allocations: 0.5171 MB / 1.112 GB, free: 283.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003533/1.234, allocations: 23.91 kB / 1.112 GB, free: 283 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00208/1.236, allocations: 174.6 kB / 1.112 GB, free: 282.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/1.236, allocations: 64.78 kB / 1.112 GB, free: 282.8 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004138/1.24, allocations: 1.729 MB / 1.114 GB, free: 281.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005066/1.245, allocations: 2.798 MB / 1.116 GB, free: 278.3 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001365/1.247, allocations: 0.7217 MB / 1.117 GB, free: 277.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002382/1.249, allocations: 1.723 MB / 1.119 GB, free: 275.8 MB / 0.8106 GB Notification: Performance of Backend: time 5.51e-07/1.249, allocations: 4 kB / 1.119 GB, free: 275.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.008991/1.258, allocations: 3.941 MB / 1.123 GB, free: 272.1 MB / 0.8106 GB Notification: Performance of SimCode: time 0.007633/1.266, allocations: 5.023 MB / 1.128 GB, free: 267 MB / 0.8106 GB Notification: Performance of Templates: time 0.07722/1.343, 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)