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.0009251/0.0009252, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 177.1 kB / 16.92 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.338/1.338, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9499/0.9499, allocations: 135.3 MB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.00033, allocations: 16.64 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1577, allocations: 82.31 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.9917/1.149, allocations: 321.9 MB / 0.9029 GB, free: 1.801 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0374/1.187, allocations: 29.89 MB / 0.9321 GB, free: 1.453 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00497/1.192, allocations: 86.53 kB / 0.9322 GB, free: 1.453 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005756/1.198, allocations: 1.756 MB / 0.9339 GB, free: 1.414 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01488/1.213, allocations: 4.661 MB / 0.9385 GB, free: 1.18 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01072/1.223, allocations: 3.367 MB / 0.9418 GB, free: 1.047 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01505/1.238, allocations: 9.605 MB / 0.9512 GB, free: 1.027 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005611/1.244, allocations: 2.36 MB / 0.9535 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01494/1.259, allocations: 4.684 MB / 0.958 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005883/1.265, allocations: 2.374 MB / 0.9604 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001072/1.266, allocations: 132.5 kB / 0.9605 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01181/1.278, allocations: 5.59 MB / 0.9659 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002035/1.28, allocations: 0.8956 MB / 0.9668 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003761/1.284, allocations: 1.561 MB / 0.9683 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007004/1.291, allocations: 4.149 MB / 0.9724 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.291, allocations: 0 / 0.9724 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.196e-06/1.291, allocations: 0 / 0.9724 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001237/1.291, allocations: 4 kB / 0.9724 GB, free: 12.57 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.007077/1.298, allocations: 3.059 MB / 0.9754 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/1.298, allocations: 9.125 kB / 0.9754 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009846/1.308, allocations: 1.575 MB / 0.9769 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004662/1.313, allocations: 1.983 MB / 0.9789 GB, free: 9.137 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001353/1.314, allocations: 442.4 kB / 0.9793 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008098/1.315, allocations: 221.4 kB / 0.9795 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006491/1.321, allocations: 3.114 MB / 0.9825 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.804e-05/1.321, allocations: 2.719 kB / 0.9825 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002708/1.322, allocations: 90.81 kB / 0.9826 GB, free: 8.035 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/1.322, allocations: 90.44 kB / 0.9827 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007057/1.329, allocations: 3.22 MB / 0.9859 GB, free: 7.43 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.02363/1.353, allocations: 14.3 MB / 0.9998 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003908/1.357, allocations: 1.694 MB / 1.001 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00172/1.358, allocations: 0.7924 MB / 1.002 GB, free: 7.879 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006314/1.359, allocations: 342.9 kB / 1.003 GB, free: 7.496 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/1.359, allocations: 47.56 kB / 1.003 GB, free: 7.441 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001648/1.361, allocations: 202.1 kB / 1.003 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 7.454e-06/1.361, allocations: 6.344 kB / 1.003 GB, free: 7.238 MB / 0.7012 GB Notification: Performance of matching and sorting (n=110): time 0.006126/1.367, allocations: 2.413 MB / 1.005 GB, free: 4.844 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/1.367, allocations: 60.41 kB / 1.005 GB, free: 4.773 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004299/1.371, allocations: 2.556 MB / 1.008 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003467/1.372, allocations: 61.69 kB / 1.008 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/1.373, allocations: 1.277 MB / 1.009 GB, free: 0.8477 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004007/1.373, allocations: 388.8 kB / 1.009 GB, free: 484 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/1.373, allocations: 141.6 kB / 1.01 GB, free: 336 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.373, allocations: 301.1 kB / 1.01 GB, free: 32 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002647/1.376, allocations: 1.007 MB / 1.011 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00312/1.379, allocations: 1.648 MB / 1.012 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00494/1.384, allocations: 2.329 MB / 1.015 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/1.384, allocations: 4 kB / 1.015 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007344/1.391, allocations: 2.9 MB / 1.018 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004396/1.392, allocations: 0.5515 MB / 1.018 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/1.392, allocations: 22.67 kB / 1.018 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.752e-05/1.392, allocations: 20 kB / 1.018 GB, free: 7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003125/1.395, allocations: 0.5858 MB / 1.019 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/1.396, allocations: 2.395 MB / 1.021 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004277/1.401, allocations: 439.5 kB / 1.021 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003407/1.401, allocations: 87.97 kB / 1.022 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/1.401, allocations: 4 kB / 1.022 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006363/1.408, allocations: 2.664 MB / 1.024 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-05/1.408, allocations: 12.56 kB / 1.024 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/1.408, allocations: 24 kB / 1.024 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002585/1.41, allocations: 0.537 MB / 1.025 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.603e-05/1.41, allocations: 33.23 kB / 1.025 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003616/1.414, allocations: 373.7 kB / 1.025 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/1.414, allocations: 91.95 kB / 1.025 GB, free: 15.83 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.001431/1.416, allocations: 0.6226 MB / 1.026 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005493/1.416, allocations: 268.7 kB / 1.026 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004343/1.421, allocations: 1.893 MB / 1.028 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/1.421, allocations: 12 kB / 1.028 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.421, allocations: 0 / 1.028 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/1.421, allocations: 7.969 kB / 1.028 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008289/1.429, allocations: 4.528 MB / 1.032 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/1.429, allocations: 4 kB / 1.032 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/1.431, allocations: 316.1 kB / 1.033 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-05/1.431, allocations: 12 kB / 1.033 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.358e-05/1.431, allocations: 27.98 kB / 1.033 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/1.432, allocations: 2.376 MB / 1.035 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/1.432, allocations: 11 kB / 1.035 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004303/1.436, allocations: 2.008 MB / 1.037 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/1.438, allocations: 0.5405 MB / 1.037 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004225/1.438, allocations: 23.94 kB / 1.038 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/1.441, allocations: 293 kB / 1.038 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/1.441, allocations: 82.11 kB / 1.038 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/1.441, allocations: 62.14 kB / 1.038 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003095/1.444, allocations: 1.77 MB / 1.04 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/1.444, allocations: 0 / 1.04 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003941/1.448, allocations: 1.302 MB / 1.041 GB, free: 15.44 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.0009043/1.449, allocations: 379.9 kB / 1.041 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009104/1.458, allocations: 3.713 MB / 1.045 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-05/1.458, allocations: 4 kB / 1.045 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002026/1.46, allocations: 0.8331 MB / 1.046 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008997/1.469, allocations: 1.304 MB / 1.047 GB, free: 9.383 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008603/1.478, allocations: 5.354 MB / 1.052 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/1.479, allocations: 1.682 MB / 1.054 GB, free: 2.23 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/1.48, allocations: 249.8 kB / 1.054 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of SimCode: time 1.052e-06/1.48, allocations: 0 / 1.054 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of Templates: time 0.09369/1.574, allocations: 85.75 MB / 1.138 GB, free: 12.47 MB / 0.8419 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)