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.001435/0.001435, allocations: 113.3 kB / 16.37 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.001479/0.00148, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.363/1.363, 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-master/package.mo): time 0.8345/0.8345, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 0.5068 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.379, allocations: 80.91 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6119/0.991, allocations: 328.4 MB / 0.9065 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03628/1.027, allocations: 30.04 MB / 0.9358 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003368/1.031, allocations: 103.4 kB / 0.9359 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004882/1.036, allocations: 2.093 MB / 0.9379 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0115/1.047, allocations: 4.961 MB / 0.9428 GB, free: 15.83 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00824/1.055, allocations: 3.661 MB / 0.9464 GB, free: 12.19 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009467/1.065, allocations: 6.93 MB / 0.9531 GB, free: 5.238 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00427/1.069, allocations: 2.867 MB / 0.9559 GB, free: 2.309 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01196/1.081, allocations: 5.28 MB / 0.9611 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004264/1.086, allocations: 2.417 MB / 0.9634 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007266/1.086, allocations: 296 kB / 0.9637 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008469/1.095, allocations: 4.809 MB / 0.9684 GB, free: 5.516 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001259/1.096, allocations: 1.063 MB / 0.9695 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002255/1.098, allocations: 1.738 MB / 0.9712 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009281/1.108, allocations: 5.749 MB / 0.9768 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.108, allocations: 0 / 0.9768 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.953e-06/1.108, allocations: 4 kB / 0.9768 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.78e-05/1.108, allocations: 0 / 0.9768 GB, free: 12.93 MB / 0.7012 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.007327/1.115, allocations: 3.696 MB / 0.9804 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/1.115, allocations: 13.11 kB / 0.9804 GB, free: 9.141 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009489/1.125, allocations: 1.46 MB / 0.9818 GB, free: 7.676 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004772/1.129, allocations: 2.069 MB / 0.9838 GB, free: 5.527 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/1.13, allocations: 164.1 kB / 0.984 GB, free: 5.363 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004443/1.13, allocations: 220 kB / 0.9842 GB, free: 5.148 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005904/1.136, allocations: 3.039 MB / 0.9872 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/1.136, allocations: 3.938 kB / 0.9872 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/1.136, allocations: 91.98 kB / 0.9873 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.95e-05/1.136, allocations: 88 kB / 0.9874 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006883/1.143, allocations: 3.107 MB / 0.9904 GB, free: 14.66 MB / 0.7169 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.02202/1.165, allocations: 14.02 MB / 1.004 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003861/1.169, allocations: 1.661 MB / 1.006 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/1.171, allocations: 0.7773 MB / 1.006 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006702/1.172, allocations: 329.1 kB / 1.007 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/1.172, allocations: 51.5 kB / 1.007 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001434/1.173, allocations: 206 kB / 1.007 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 5.169e-06/1.173, allocations: 0 / 1.007 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=110): time 0.005855/1.179, allocations: 2.356 MB / 1.009 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/1.179, allocations: 64.41 kB / 1.009 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003922/1.183, allocations: 2.513 MB / 1.012 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002894/1.183, allocations: 57.7 kB / 1.012 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009812/1.184, allocations: 1.272 MB / 1.013 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003388/1.185, allocations: 386.5 kB / 1.014 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007321/1.185, allocations: 391 kB / 1.014 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.903e-05/1.186, allocations: 301.1 kB / 1.014 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00241/1.188, allocations: 0.9611 MB / 1.015 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003012/1.191, allocations: 1.584 MB / 1.017 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004417/1.195, allocations: 2.261 MB / 1.019 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/1.195, allocations: 4 kB / 1.019 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006505/1.202, allocations: 2.782 MB / 1.022 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.068e-05/1.202, allocations: 77.27 kB / 1.022 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/1.202, allocations: 16.06 kB / 1.022 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.54e-05/1.202, allocations: 24 kB / 1.022 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002954/1.205, allocations: 0.5539 MB / 1.022 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/1.206, allocations: 2.391 MB / 1.025 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/1.21, allocations: 294.6 kB / 1.025 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002431/1.21, allocations: 91.95 kB / 1.025 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003248/1.213, allocations: 1.394 MB / 1.026 GB, free: 8.031 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002914/1.216, allocations: 1.587 MB / 1.028 GB, free: 6.168 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004432/1.221, allocations: 2.246 MB / 1.03 GB, free: 3.719 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.01e-05/1.221, allocations: 4 kB / 1.03 GB, free: 3.715 MB / 0.7481 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.00652/1.227, allocations: 2.774 MB / 1.033 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/1.227, allocations: 71.39 kB / 1.033 GB, free: 0.8359 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.228, allocations: 12 kB / 1.033 GB, free: 0.8242 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/1.228, allocations: 24 kB / 1.033 GB, free: 0.8008 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/1.23, allocations: 0.5152 MB / 1.033 GB, free: 292 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.917e-05/1.23, allocations: 27.92 kB / 1.033 GB, free: 264 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2638/1.494, allocations: 285.9 kB / 1.034 GB, free: 325.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005365/1.495, allocations: 91.56 kB / 1.034 GB, free: 325.5 MB / 0.7481 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.0005521/1.495, allocations: 299.4 kB / 1.034 GB, free: 325.3 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008113/1.496, allocations: 261.6 kB / 1.034 GB, free: 325.3 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004515/1.5, allocations: 1.843 MB / 1.036 GB, free: 325.2 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.5, allocations: 10.59 kB / 1.036 GB, free: 325.2 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/1.5, allocations: 1.562 kB / 1.036 GB, free: 325.2 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/1.5, allocations: 14.64 kB / 1.036 GB, free: 325.2 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008906/1.509, allocations: 4.484 MB / 1.04 GB, free: 323.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/1.509, allocations: 5.906 kB / 1.04 GB, free: 323.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/1.511, allocations: 303.4 kB / 1.041 GB, free: 323.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-05/1.511, allocations: 11.09 kB / 1.041 GB, free: 323.4 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.5e-05/1.511, allocations: 36.7 kB / 1.041 GB, free: 323.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000731/1.512, allocations: 2.369 MB / 1.043 GB, free: 321 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/1.512, allocations: 6.531 kB / 1.043 GB, free: 321 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004166/1.516, allocations: 1.976 MB / 1.045 GB, free: 320.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/1.518, allocations: 0.5199 MB / 1.046 GB, free: 319.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003523/1.518, allocations: 41.41 kB / 1.046 GB, free: 319.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/1.52, allocations: 183.7 kB / 1.046 GB, free: 319.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/1.52, allocations: 73.77 kB / 1.046 GB, free: 319.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.52, allocations: 64.22 kB / 1.046 GB, free: 319.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002544/1.523, allocations: 1.731 MB / 1.048 GB, free: 319.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.51e-07/1.523, allocations: 0 / 1.048 GB, free: 319.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003246/1.526, allocations: 1.285 MB / 1.049 GB, free: 319 MB / 0.7481 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.000718/1.527, allocations: 370.6 kB / 1.049 GB, free: 318.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007412/1.534, allocations: 3.592 MB / 1.053 GB, free: 317.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/1.534, allocations: 3.969 kB / 1.053 GB, free: 317.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/1.536, allocations: 0.8084 MB / 1.054 GB, free: 317.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004689/1.541, allocations: 1.199 MB / 1.055 GB, free: 317 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005874/1.547, allocations: 4.238 MB / 1.059 GB, free: 314.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008737/1.547, allocations: 1.701 MB / 1.06 GB, free: 313.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002722/1.55, allocations: 0.7825 MB / 1.061 GB, free: 312.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005596/1.551, allocations: 191.4 kB / 1.061 GB, free: 312.7 MB / 0.7481 GB Notification: Performance of SimCode: time 9.52e-07/1.551, allocations: 0 / 1.061 GB, free: 312.7 MB / 0.7481 GB Notification: Performance of Templates: time 0.05547/1.606, allocations: 45.45 MB / 1.106 GB, free: 267.9 MB / 0.7481 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)