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.001069/0.001069, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008789/0.008789, allocations: 173.9 kB / 16.26 MB, free: 6.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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8176/0.8176, allocations: 132.4 MB / 423.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.000373, allocations: 8 kB / 0.504 GB, free: 3.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5042, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7199/1.224, allocations: 321.9 MB / 0.898 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03289/1.257, allocations: 29.9 MB / 0.9272 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005349/1.262, allocations: 86.44 kB / 0.9273 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005788/1.268, allocations: 1.755 MB / 0.929 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01342/1.282, allocations: 4.675 MB / 0.9336 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008851/1.291, allocations: 3.359 MB / 0.9368 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01038/1.301, allocations: 9.601 MB / 0.9462 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004171/1.305, allocations: 2.375 MB / 0.9485 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01395/1.319, allocations: 4.672 MB / 0.9531 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006576/1.326, allocations: 2.379 MB / 0.9554 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001314/1.327, allocations: 128 kB / 0.9555 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01204/1.339, allocations: 5.594 MB / 0.961 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001742/1.341, allocations: 0.893 MB / 0.9619 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003086/1.344, allocations: 1.567 MB / 0.9634 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01009/1.354, allocations: 5.812 MB / 0.9691 GB, free: 11.85 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.354, allocations: 0 / 0.9691 GB, free: 11.85 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.034e-06/1.354, allocations: 0 / 0.9691 GB, free: 11.85 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.828e-05/1.354, allocations: 0 / 0.9691 GB, free: 11.85 MB / 0.67 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.006313/1.361, allocations: 3.056 MB / 0.9721 GB, free: 8.754 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/1.361, allocations: 12.03 kB / 0.9721 GB, free: 8.742 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009707/1.37, allocations: 1.577 MB / 0.9736 GB, free: 7.16 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003835/1.374, allocations: 1.991 MB / 0.9756 GB, free: 5.191 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001351/1.376, allocations: 440.2 kB / 0.976 GB, free: 4.758 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005095/1.376, allocations: 217.4 kB / 0.9762 GB, free: 4.547 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006546/1.383, allocations: 3.109 MB / 0.9792 GB, free: 1.32 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.554e-05/1.383, allocations: 4 kB / 0.9792 GB, free: 1.316 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003257/1.383, allocations: 91.94 kB / 0.9793 GB, free: 1.227 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/1.383, allocations: 92 kB / 0.9794 GB, free: 1.133 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008279/1.392, allocations: 3.229 MB / 0.9826 GB, free: 13.91 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.02508/1.417, allocations: 14.3 MB / 0.9965 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00403/1.421, allocations: 1.696 MB / 0.9982 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/1.422, allocations: 0.7924 MB / 0.999 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006443/1.423, allocations: 338.7 kB / 0.9993 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/1.423, allocations: 47.56 kB / 0.9993 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001253/1.424, allocations: 198.1 kB / 0.9995 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 3.366e-06/1.424, allocations: 0 / 0.9995 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=110): time 0.005728/1.43, allocations: 2.422 MB / 1.002 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/1.43, allocations: 60.41 kB / 1.002 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003913/1.434, allocations: 2.56 MB / 1.004 GB, free: 6.523 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002265/1.434, allocations: 57.7 kB / 1.004 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001021/1.435, allocations: 1.279 MB / 1.006 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003426/1.436, allocations: 385.1 kB / 1.006 GB, free: 4.801 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/1.436, allocations: 141.6 kB / 1.006 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/1.436, allocations: 305.1 kB / 1.007 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002697/1.439, allocations: 1.003 MB / 1.008 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003197/1.442, allocations: 1.649 MB / 1.009 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005244/1.447, allocations: 2.329 MB / 1.011 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-05/1.447, allocations: 4 kB / 1.011 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007447/1.455, allocations: 2.902 MB / 1.014 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005645/1.455, allocations: 0.561 MB / 1.015 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-05/1.455, allocations: 15.94 kB / 1.015 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.575e-05/1.456, allocations: 27.94 kB / 1.015 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003208/1.459, allocations: 0.5851 MB / 1.015 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/1.46, allocations: 2.391 MB / 1.018 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004097/1.464, allocations: 443.4 kB / 1.018 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000274/1.465, allocations: 87.95 kB / 1.018 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.465, allocations: 4 kB / 1.018 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006313/1.471, allocations: 2.658 MB / 1.021 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/1.471, allocations: 24.67 kB / 1.021 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/1.471, allocations: 20 kB / 1.021 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/1.473, allocations: 0.5344 MB / 1.021 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-05/1.474, allocations: 31.92 kB / 1.021 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/1.477, allocations: 371.5 kB / 1.022 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/1.477, allocations: 87.95 kB / 1.022 GB, free: 3.848 MB / 0.7169 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.001473/1.479, allocations: 0.6293 MB / 1.022 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007111/1.479, allocations: 268.7 kB / 1.023 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004714/1.484, allocations: 1.886 MB / 1.025 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/1.484, allocations: 12 kB / 1.025 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.484, allocations: 4 kB / 1.025 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/1.484, allocations: 7.922 kB / 1.025 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00902/1.493, allocations: 4.531 MB / 1.029 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/1.493, allocations: 4 kB / 1.029 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/1.495, allocations: 315.8 kB / 1.029 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.011e-05/1.495, allocations: 12 kB / 1.029 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-05/1.495, allocations: 27.98 kB / 1.029 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/1.496, allocations: 2.367 MB / 1.032 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/1.496, allocations: 8 kB / 1.032 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00447/1.501, allocations: 2.01 MB / 1.034 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001605/1.502, allocations: 0.5522 MB / 1.034 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007312/1.503, allocations: 23.94 kB / 1.034 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003048/1.506, allocations: 285.1 kB / 1.034 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/1.506, allocations: 88.78 kB / 1.035 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002084/1.507, allocations: 59.95 kB / 1.035 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003894/1.511, allocations: 1.77 MB / 1.036 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.382e-06/1.511, allocations: 0 / 1.036 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006343/1.517, allocations: 1.298 MB / 1.038 GB, free: 3.359 MB / 0.7325 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.001087/1.518, allocations: 380.5 kB / 1.038 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01035/1.528, allocations: 3.714 MB / 1.042 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.581e-05/1.528, allocations: 4 kB / 1.042 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002251/1.531, allocations: 0.8307 MB / 1.042 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009685/1.54, allocations: 1.3 MB / 1.044 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009575/1.55, allocations: 5.276 MB / 1.049 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/1.552, allocations: 1.698 MB / 1.051 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004525/1.556, allocations: 0.7857 MB / 1.051 GB, free: 5.246 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009215/1.557, allocations: 219.4 kB / 1.051 GB, free: 5.031 MB / 0.7481 GB Notification: Performance of SimCode: time 1.163e-06/1.557, allocations: 0 / 1.051 GB, free: 5.031 MB / 0.7481 GB Notification: Performance of Templates: time 0.0907/1.648, allocations: 50.66 MB / 1.101 GB, free: 3.074 MB / 0.795 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)