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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008513/0.008513, allocations: 100.1 kB / 15.73 MB, free: 6.051 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.001845/0.001845, allocations: 186.8 kB / 16.67 MB, free: 5.977 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.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.9404/0.9404, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 68.09 kB / 0.5852 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4221, allocations: 80.92 MB / 0.6642 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7596/1.182, allocations: 328.4 MB / 0.9849 GB, free: 88 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04095/1.223, allocations: 30.05 MB / 1.014 GB, free: 5.953 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005919/1.229, allocations: 97.03 kB / 1.014 GB, free: 5.953 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.007168/1.236, allocations: 2.097 MB / 1.016 GB, free: 4.848 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01504/1.251, allocations: 4.947 MB / 1.021 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01/1.261, allocations: 3.661 MB / 1.025 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01138/1.272, allocations: 6.926 MB / 1.032 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005122/1.278, allocations: 2.871 MB / 1.034 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01445/1.292, allocations: 5.335 MB / 1.04 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005683/1.298, allocations: 2.419 MB / 1.042 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001407/1.299, allocations: 296 kB / 1.042 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/1.311, allocations: 4.809 MB / 1.047 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002113/1.313, allocations: 1.063 MB / 1.048 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004188/1.317, allocations: 1.73 MB / 1.05 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0134/1.331, allocations: 5.765 MB / 1.055 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/1.331, allocations: 0 / 1.055 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.444e-06/1.331, allocations: 0 / 1.055 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001914/1.331, allocations: 0 / 1.055 GB, free: 14.31 MB / 0.7481 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.01166/1.343, allocations: 3.692 MB / 1.059 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/1.343, allocations: 12.03 kB / 1.059 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007574/1.344, allocations: 303.6 kB / 1.059 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009935/1.353, allocations: 1.467 MB / 1.061 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005138/1.359, allocations: 2.061 MB / 1.063 GB, free: 6.602 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/1.359, allocations: 168.1 kB / 1.063 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006672/1.36, allocations: 224 kB / 1.063 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006656/1.366, allocations: 3.042 MB / 1.066 GB, free: 3.035 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.685e-05/1.366, allocations: 4 kB / 1.066 GB, free: 3.031 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002874/1.367, allocations: 88 kB / 1.066 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.181e-05/1.367, allocations: 88 kB / 1.066 GB, free: 2.855 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007501/1.374, allocations: 3.119 MB / 1.069 GB, free: 15.71 MB / 0.7637 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.02517/1.399, allocations: 14.02 MB / 1.083 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004075/1.404, allocations: 1.661 MB / 1.084 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/1.405, allocations: 0.7743 MB / 1.085 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000656/1.406, allocations: 328.2 kB / 1.086 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/1.406, allocations: 51.56 kB / 1.086 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001332/1.407, allocations: 194.2 kB / 1.086 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=110): time 5.631e-06/1.407, allocations: 0 / 1.086 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=110): time 0.006395/1.414, allocations: 2.359 MB / 1.088 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/1.414, allocations: 68.34 kB / 1.088 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004099/1.418, allocations: 2.509 MB / 1.091 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0003018/1.418, allocations: 61.7 kB / 1.091 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001007/1.419, allocations: 1.265 MB / 1.092 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004133/1.42, allocations: 398.4 kB / 1.092 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006758/1.42, allocations: 387 kB / 1.093 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.571e-05/1.421, allocations: 309.1 kB / 1.093 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002466/1.423, allocations: 0.9572 MB / 1.094 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003032/1.426, allocations: 1.583 MB / 1.095 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004771/1.431, allocations: 2.253 MB / 1.098 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.875e-05/1.431, allocations: 4 kB / 1.098 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007297/1.438, allocations: 2.785 MB / 1.1 GB, free: 14.04 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/1.438, allocations: 76.08 kB / 1.1 GB, free: 13.96 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/1.438, allocations: 12 kB / 1.1 GB, free: 13.95 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.164e-05/1.438, allocations: 28 kB / 1.1 GB, free: 13.92 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/1.442, allocations: 0.5539 MB / 1.101 GB, free: 13.36 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/1.443, allocations: 2.391 MB / 1.103 GB, free: 10.88 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003592/1.446, allocations: 283.7 kB / 1.104 GB, free: 10.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004071/1.447, allocations: 95.89 kB / 1.104 GB, free: 10.51 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003916/1.451, allocations: 1.39 MB / 1.105 GB, free: 9.113 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003263/1.454, allocations: 1.587 MB / 1.107 GB, free: 7.258 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005049/1.459, allocations: 2.25 MB / 1.109 GB, free: 4.809 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.913e-05/1.459, allocations: 4 kB / 1.109 GB, free: 4.805 MB / 0.795 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.007872/1.467, allocations: 2.778 MB / 1.112 GB, free: 2.004 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/1.467, allocations: 75.39 kB / 1.112 GB, free: 1.918 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-05/1.467, allocations: 12 kB / 1.112 GB, free: 1.906 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.663e-05/1.467, allocations: 27.94 kB / 1.112 GB, free: 1.879 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002612/1.47, allocations: 0.5034 MB / 1.112 GB, free: 1.375 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.466e-05/1.47, allocations: 27.92 kB / 1.112 GB, free: 1.348 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003691/1.474, allocations: 304.2 kB / 1.112 GB, free: 1.051 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004495/1.474, allocations: 87.95 kB / 1.113 GB, free: 0.9648 MB / 0.795 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.0008856/1.475, allocations: 295.7 kB / 1.113 GB, free: 0.668 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009261/1.476, allocations: 260.8 kB / 1.113 GB, free: 420 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005116/1.481, allocations: 1.847 MB / 1.115 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/1.481, allocations: 11.94 kB / 1.115 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.481, allocations: 0 / 1.115 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/1.481, allocations: 15.97 kB / 1.115 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/1.492, allocations: 4.489 MB / 1.119 GB, free: 9.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/1.492, allocations: 8 kB / 1.119 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/1.493, allocations: 299.6 kB / 1.12 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.22e-05/1.493, allocations: 12 kB / 1.12 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/1.494, allocations: 31.98 kB / 1.12 GB, free: 9.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/1.495, allocations: 2.368 MB / 1.122 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/1.495, allocations: 8 kB / 1.122 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004475/1.499, allocations: 1.975 MB / 1.124 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/1.501, allocations: 0.5211 MB / 1.124 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007833/1.502, allocations: 39.88 kB / 1.124 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002756/1.504, allocations: 173.3 kB / 1.125 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/1.505, allocations: 80.92 kB / 1.125 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002039/1.505, allocations: 63.95 kB / 1.125 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003828/1.509, allocations: 1.731 MB / 1.126 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.91e-07/1.509, allocations: 0 / 1.126 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005045/1.514, allocations: 1.283 MB / 1.128 GB, free: 1.098 MB / 0.8106 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.005936/1.52, allocations: 2.8 MB / 1.13 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.009574/1.529, allocations: 3.586 MB / 1.134 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.529, allocations: 7.938 kB / 1.134 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002151/1.532, allocations: 0.8077 MB / 1.135 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007448/1.539, allocations: 1.191 MB / 1.136 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0438/1.583, allocations: 18.8 MB / 1.154 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001859/1.585, allocations: 1.697 MB / 1.156 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003993/1.589, allocations: 0.7777 MB / 1.157 GB, free: 2.531 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00216/1.591, allocations: 1.015 MB / 1.158 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of SimCode: time 2.785e-06/1.591, allocations: 0 / 1.158 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4692/2.06, allocations: 66.02 MB / 1.222 GB, free: 382.8 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.21/19.27, allocations: 13.81 kB / 1.222 GB, free: 382.8 MB / 0.8887 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)