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.0008428/0.0008429, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005764/0.005764, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003744, allocations: 15.94 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1681, allocations: 82.3 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.024/1.192, allocations: 321.9 MB / 0.9023 GB, free: 1.746 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0427/1.235, allocations: 29.9 MB / 0.9315 GB, free: 1.402 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005094/1.24, allocations: 87.25 kB / 0.9316 GB, free: 1.402 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006689/1.247, allocations: 1.76 MB / 0.9333 GB, free: 1.359 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01972/1.267, allocations: 4.663 MB / 0.9378 GB, free: 1.121 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01445/1.281, allocations: 3.365 MB / 0.9411 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01572/1.297, allocations: 9.61 MB / 0.9505 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005011/1.302, allocations: 2.36 MB / 0.9528 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01415/1.316, allocations: 4.674 MB / 0.9574 GB, free: 16.5 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005687/1.322, allocations: 2.388 MB / 0.9597 GB, free: 16.12 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001272/1.323, allocations: 132 kB / 0.9598 GB, free: 16.12 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01276/1.336, allocations: 5.58 MB / 0.9653 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002103/1.338, allocations: 0.8929 MB / 0.9662 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004402/1.342, allocations: 1.566 MB / 0.9677 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01352/1.356, allocations: 5.804 MB / 0.9734 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.477e-06/1.356, allocations: 1.938 kB / 0.9734 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.936e-06/1.356, allocations: 3.938 kB / 0.9734 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002315/1.356, allocations: 4 kB / 0.9734 GB, free: 11.92 MB / 0.6856 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.008766/1.365, allocations: 3.056 MB / 0.9763 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.365, allocations: 9.812 kB / 0.9764 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009779/1.375, allocations: 1.571 MB / 0.9779 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004178/1.379, allocations: 1.989 MB / 0.9798 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001313/1.38, allocations: 430.4 kB / 0.9802 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005964/1.381, allocations: 221.2 kB / 0.9805 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006429/1.388, allocations: 3.117 MB / 0.9835 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.054e-05/1.388, allocations: 8.859 kB / 0.9835 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003205/1.388, allocations: 89.59 kB / 0.9836 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.78e-05/1.388, allocations: 90.03 kB / 0.9837 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007058/1.395, allocations: 3.227 MB / 0.9868 GB, free: 6.613 MB / 0.6856 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.0247/1.42, allocations: 14.3 MB / 1.001 GB, free: 8.914 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004381/1.424, allocations: 1.685 MB / 1.002 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/1.426, allocations: 0.7924 MB / 1.003 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006628/1.427, allocations: 345.8 kB / 1.004 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.685e-05/1.427, allocations: 55.55 kB / 1.004 GB, free: 5.996 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001495/1.428, allocations: 198.1 kB / 1.004 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 4.809e-06/1.428, allocations: 0 / 1.004 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of matching and sorting (n=110): time 0.006364/1.435, allocations: 2.41 MB / 1.006 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/1.435, allocations: 72.33 kB / 1.006 GB, free: 3.328 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004942/1.44, allocations: 2.555 MB / 1.009 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003666/1.44, allocations: 57.7 kB / 1.009 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001229/1.442, allocations: 1.28 MB / 1.01 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004425/1.442, allocations: 394.2 kB / 1.01 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003174/1.442, allocations: 141.6 kB / 1.011 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.352e-05/1.442, allocations: 301.1 kB / 1.011 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002799/1.445, allocations: 1.003 MB / 1.012 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003257/1.448, allocations: 1.648 MB / 1.013 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005072/1.454, allocations: 2.33 MB / 1.016 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/1.454, allocations: 4 kB / 1.016 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007494/1.461, allocations: 2.896 MB / 1.019 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004295/1.462, allocations: 0.5582 MB / 1.019 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/1.462, allocations: 19.94 kB / 1.019 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.873e-05/1.462, allocations: 24 kB / 1.019 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/1.465, allocations: 0.5856 MB / 1.02 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/1.466, allocations: 2.391 MB / 1.022 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004013/1.47, allocations: 445.5 kB / 1.022 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003105/1.47, allocations: 91.95 kB / 1.023 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/1.471, allocations: 4 kB / 1.023 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006481/1.477, allocations: 2.657 MB / 1.025 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.076e-05/1.477, allocations: 12 kB / 1.025 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/1.477, allocations: 24 kB / 1.025 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/1.48, allocations: 0.5353 MB / 1.026 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.377e-05/1.48, allocations: 26.89 kB / 1.026 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003592/1.483, allocations: 383.4 kB / 1.026 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003337/1.484, allocations: 87.95 kB / 1.026 GB, free: 14.41 MB / 0.7325 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.001606/1.485, allocations: 0.6298 MB / 1.027 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007318/1.486, allocations: 264.7 kB / 1.027 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004943/1.491, allocations: 1.89 MB / 1.029 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/1.491, allocations: 12 kB / 1.029 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.491, allocations: 0 / 1.029 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/1.491, allocations: 10.5 kB / 1.029 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/1.501, allocations: 4.528 MB / 1.033 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/1.501, allocations: 7.984 kB / 1.033 GB, free: 7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/1.503, allocations: 319.5 kB / 1.034 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.131e-05/1.503, allocations: 8 kB / 1.034 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/1.503, allocations: 31.98 kB / 1.034 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/1.505, allocations: 2.372 MB / 1.036 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/1.505, allocations: 10.91 kB / 1.036 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004983/1.51, allocations: 2.004 MB / 1.038 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/1.512, allocations: 0.5405 MB / 1.038 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/1.513, allocations: 35.92 kB / 1.038 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003175/1.516, allocations: 289 kB / 1.039 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/1.516, allocations: 74.67 kB / 1.039 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002369/1.516, allocations: 71.94 kB / 1.039 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003949/1.52, allocations: 1.766 MB / 1.041 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.633e-06/1.52, allocations: 0 / 1.041 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004981/1.525, allocations: 1.302 MB / 1.042 GB, free: 14.01 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.0009608/1.526, allocations: 375.9 kB / 1.042 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009578/1.536, allocations: 3.72 MB / 1.046 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/1.536, allocations: 0 / 1.046 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00209/1.538, allocations: 0.8336 MB / 1.047 GB, free: 9.227 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009301/1.547, allocations: 1.306 MB / 1.048 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009289/1.557, allocations: 5.27 MB / 1.053 GB, free: 2.598 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/1.559, allocations: 1.698 MB / 1.055 GB, free: 0.8594 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004585/1.563, allocations: 0.7818 MB / 1.056 GB, free: 72 kB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.564, allocations: 223.4 kB / 1.056 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of SimCode: time 1.002e-06/1.564, allocations: 4 kB / 1.056 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of Templates: time 0.09073/1.655, allocations: 50.67 MB / 1.105 GB, free: 13.87 MB / 0.8106 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)