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.0101/0.0101, allocations: 100.2 kB / 15.87 MB, free: 5.871 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.002884/0.002884, allocations: 193 kB / 16.79 MB, free: 5.816 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.457/1.457, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.926/0.926, allocations: 135.1 MB / 425.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 68.05 kB / 0.5053 GB, free: 5.707 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1602, allocations: 80.91 MB / 0.5843 GB, free: 4.961 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.9929/1.153, allocations: 326.4 MB / 0.9031 GB, free: 1.344 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03433/1.188, allocations: 30.26 MB / 0.9326 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004513/1.192, allocations: 88.84 kB / 0.9327 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005873/1.198, allocations: 1.769 MB / 0.9344 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01361/1.212, allocations: 4.66 MB / 0.939 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01018/1.222, allocations: 3.349 MB / 0.9422 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01194/1.234, allocations: 9.621 MB / 0.9516 GB, free: 500 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004445/1.238, allocations: 2.428 MB / 0.954 GB, free: 16.11 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01335/1.252, allocations: 4.741 MB / 0.9586 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005733/1.257, allocations: 2.485 MB / 0.9611 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001035/1.259, allocations: 162.9 kB / 0.9612 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01236/1.271, allocations: 5.624 MB / 0.9667 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002385/1.273, allocations: 0.9361 MB / 0.9676 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003722/1.277, allocations: 1.604 MB / 0.9692 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007832/1.285, allocations: 4.228 MB / 0.9733 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/1.285, allocations: 0 / 0.9733 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.767e-06/1.285, allocations: 3.984 kB / 0.9733 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001595/1.285, allocations: 0 / 0.9733 GB, free: 11.4 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.009597/1.295, allocations: 3.709 MB / 0.9769 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/1.295, allocations: 9.938 kB / 0.9769 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/1.305, allocations: 1.468 MB / 0.9784 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004536/1.31, allocations: 1.975 MB / 0.9803 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001208/1.311, allocations: 396.6 kB / 0.9807 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007345/1.312, allocations: 229.1 kB / 0.9809 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006643/1.318, allocations: 3.068 MB / 0.9839 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.343e-05/1.318, allocations: 2.625 kB / 0.9839 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000312/1.319, allocations: 95.94 kB / 0.984 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.02e-05/1.319, allocations: 88 kB / 0.9841 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007125/1.326, allocations: 3.152 MB / 0.9872 GB, free: 0.9141 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.02351/1.35, allocations: 14.09 MB / 1.001 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003883/1.353, allocations: 1.648 MB / 1.003 GB, free: 332 kB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/1.355, allocations: 0.7743 MB / 1.003 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006203/1.356, allocations: 325.7 kB / 1.004 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/1.356, allocations: 53.27 kB / 1.004 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001483/1.357, allocations: 194 kB / 1.004 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 3.656e-06/1.357, allocations: 0 / 1.004 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110): time 0.005712/1.363, allocations: 2.37 MB / 1.006 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/1.363, allocations: 64.41 kB / 1.006 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004009/1.367, allocations: 2.537 MB / 1.009 GB, free: 9.945 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000273/1.367, allocations: 57.7 kB / 1.009 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009546/1.368, allocations: 1.264 MB / 1.01 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/1.369, allocations: 396.2 kB / 1.01 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006515/1.369, allocations: 391 kB / 1.011 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.103e-05/1.37, allocations: 301.1 kB / 1.011 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00243/1.372, allocations: 0.9767 MB / 1.012 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002938/1.375, allocations: 1.609 MB / 1.014 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004447/1.379, allocations: 2.273 MB / 1.016 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/1.379, allocations: 4 kB / 1.016 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006552/1.386, allocations: 2.818 MB / 1.019 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.308e-05/1.386, allocations: 79.33 kB / 1.019 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/1.386, allocations: 20.06 kB / 1.019 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.569e-05/1.386, allocations: 23.94 kB / 1.019 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/1.389, allocations: 0.564 MB / 1.019 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/1.39, allocations: 2.386 MB / 1.022 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003933/1.394, allocations: 411.6 kB / 1.022 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002563/1.395, allocations: 95.62 kB / 1.022 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003369/1.398, allocations: 1.409 MB / 1.023 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002878/1.401, allocations: 1.609 MB / 1.025 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004654/1.406, allocations: 2.267 MB / 1.027 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.278e-05/1.406, allocations: 4 kB / 1.027 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006669/1.412, allocations: 2.819 MB / 1.03 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.583e-05/1.412, allocations: 67.39 kB / 1.03 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-05/1.412, allocations: 16 kB / 1.03 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/1.412, allocations: 20 kB / 1.03 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/1.415, allocations: 0.5188 MB / 1.031 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-05/1.415, allocations: 29.8 kB / 1.031 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003818/1.419, allocations: 411.2 kB / 1.031 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/1.419, allocations: 87.97 kB / 1.031 GB, free: 2.293 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.0005452/1.42, allocations: 296 kB / 1.031 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000605/1.42, allocations: 264.7 kB / 1.032 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004479/1.425, allocations: 1.846 MB / 1.033 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/1.425, allocations: 12 kB / 1.033 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.425, allocations: 0 / 1.033 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/1.425, allocations: 3.984 kB / 1.033 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008928/1.434, allocations: 4.49 MB / 1.038 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/1.434, allocations: 4 kB / 1.038 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/1.436, allocations: 311 kB / 1.038 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.528e-05/1.436, allocations: 11.98 kB / 1.038 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.976e-05/1.436, allocations: 39.92 kB / 1.038 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/1.437, allocations: 2.357 MB / 1.04 GB, free: 8.539 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/1.437, allocations: 8 kB / 1.04 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00454/1.441, allocations: 1.978 MB / 1.042 GB, free: 6.465 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/1.443, allocations: 0.525 MB / 1.043 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004408/1.443, allocations: 28 kB / 1.043 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002539/1.446, allocations: 259.4 kB / 1.043 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.446, allocations: 84.5 kB / 1.043 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/1.446, allocations: 65.17 kB / 1.043 GB, free: 5.492 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003069/1.449, allocations: 1.755 MB / 1.045 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.31e-07/1.449, allocations: 0 / 1.045 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003943/1.453, allocations: 1.299 MB / 1.046 GB, free: 2.434 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.0007952/1.454, allocations: 373.1 kB / 1.047 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008864/1.463, allocations: 3.614 MB / 1.05 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/1.463, allocations: 0 / 1.05 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002018/1.465, allocations: 0.8141 MB / 1.051 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006433/1.472, allocations: 1.198 MB / 1.052 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008442/1.48, allocations: 5.311 MB / 1.057 GB, free: 7.211 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/1.481, allocations: 1.68 MB / 1.059 GB, free: 5.492 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/1.482, allocations: 219.3 kB / 1.059 GB, free: 5.277 MB / 0.7637 GB Notification: Performance of SimCode: time 7.22e-07/1.483, allocations: 0 / 1.059 GB, free: 5.277 MB / 0.7637 GB Notification: Performance of Templates: time 0.09025/1.573, allocations: 86.14 MB / 1.143 GB, free: 15.41 MB / 0.8575 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)