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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="IDEAS_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.01119/0.01119, allocations: 104.6 kB / 15.74 MB, free: 6.039 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.00214/0.00214, allocations: 196.2 kB / 16.68 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.194/2.194, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.232/1.232, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002063, allocations: 58.59 kB / 0.5809 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2442, allocations: 80.22 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.208/1.452, allocations: 328.4 MB / 0.9799 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.07264/1.525, allocations: 30.03 MB / 1.009 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006594/1.532, allocations: 103.4 kB / 1.009 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.008096/1.54, allocations: 2.089 MB / 1.011 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01708/1.557, allocations: 4.954 MB / 1.016 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01475/1.572, allocations: 3.654 MB / 1.02 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01862/1.59, allocations: 6.93 MB / 1.027 GB, free: 13.46 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009475/1.6, allocations: 2.869 MB / 1.029 GB, free: 10.54 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02471/1.625, allocations: 5.336 MB / 1.035 GB, free: 5.207 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008829/1.634, allocations: 2.409 MB / 1.037 GB, free: 2.805 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002046/1.636, allocations: 296 kB / 1.037 GB, free: 2.516 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01888/1.655, allocations: 4.809 MB / 1.042 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003707/1.658, allocations: 1.067 MB / 1.043 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.007154/1.666, allocations: 1.73 MB / 1.045 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.02271/1.688, allocations: 5.765 MB / 1.05 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.265e-05/1.688, allocations: 4 kB / 1.05 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.785e-06/1.688, allocations: 4 kB / 1.05 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002167/1.689, allocations: 0 / 1.05 GB, free: 5.098 MB / 0.8106 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.01684/1.706, allocations: 3.688 MB / 1.054 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 7.32e-05/1.706, allocations: 16.02 kB / 1.054 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008835/1.707, allocations: 295.6 kB / 1.054 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6262/2.333, allocations: 1.462 MB / 1.056 GB, free: 318.8 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00651/2.339, allocations: 2.077 MB / 1.058 GB, free: 318.3 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003386/2.34, allocations: 169.2 kB / 1.058 GB, free: 318.3 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009603/2.341, allocations: 222.8 kB / 1.058 GB, free: 318.3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008222/2.349, allocations: 3.029 MB / 1.061 GB, free: 317.2 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.4e-05/2.349, allocations: 5.375 kB / 1.061 GB, free: 317.2 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005205/2.35, allocations: 93.16 kB / 1.061 GB, free: 317.1 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002217/2.35, allocations: 93.89 kB / 1.061 GB, free: 317.1 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/2.366, allocations: 3.104 MB / 1.064 GB, free: 316.1 MB / 0.8106 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.04633/2.412, allocations: 14.03 MB / 1.078 GB, free: 306.2 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007012/2.419, allocations: 1.657 MB / 1.079 GB, free: 305.6 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002637/2.422, allocations: 0.7731 MB / 1.08 GB, free: 305.3 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006626/2.422, allocations: 328.9 kB / 1.081 GB, free: 305 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.662e-05/2.422, allocations: 47.06 kB / 1.081 GB, free: 304.9 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002551/2.425, allocations: 215.2 kB / 1.081 GB, free: 304.8 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 1.261e-05/2.425, allocations: 1.094 kB / 1.081 GB, free: 304.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=110): time 0.01095/2.436, allocations: 2.356 MB / 1.083 GB, free: 303.7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/2.436, allocations: 67.19 kB / 1.083 GB, free: 303.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007722/2.444, allocations: 2.511 MB / 1.086 GB, free: 302.3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0006678/2.445, allocations: 61.2 kB / 1.086 GB, free: 302.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001454/2.446, allocations: 1.269 MB / 1.087 GB, free: 301.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007375/2.447, allocations: 387.8 kB / 1.087 GB, free: 300.8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/2.448, allocations: 388.3 kB / 1.088 GB, free: 300.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.982e-05/2.448, allocations: 302.5 kB / 1.088 GB, free: 300.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004324/2.453, allocations: 0.9583 MB / 1.089 GB, free: 299.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004964/2.458, allocations: 1.585 MB / 1.09 GB, free: 298.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007326/2.465, allocations: 2.26 MB / 1.093 GB, free: 297.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.001e-05/2.465, allocations: 3.969 kB / 1.093 GB, free: 297.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.008838/2.474, allocations: 2.784 MB / 1.095 GB, free: 295.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.464e-05/2.474, allocations: 71.3 kB / 1.095 GB, free: 295.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/2.474, allocations: 15.75 kB / 1.095 GB, free: 295.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.469e-05/2.474, allocations: 23.81 kB / 1.095 GB, free: 295.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003079/2.477, allocations: 0.5601 MB / 1.096 GB, free: 295.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/2.478, allocations: 2.39 MB / 1.098 GB, free: 293.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006413/2.485, allocations: 279 kB / 1.099 GB, free: 293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009567/2.486, allocations: 95.11 kB / 1.099 GB, free: 293 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006541/2.492, allocations: 1.394 MB / 1.1 GB, free: 292.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005392/2.498, allocations: 1.581 MB / 1.102 GB, free: 291 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008214/2.506, allocations: 2.239 MB / 1.104 GB, free: 289.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.117e-05/2.506, allocations: 9.625 kB / 1.104 GB, free: 289.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.009471/2.516, allocations: 2.778 MB / 1.107 GB, free: 286.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.184e-05/2.516, allocations: 67.41 kB / 1.107 GB, free: 286.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/2.516, allocations: 20.03 kB / 1.107 GB, free: 286.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/2.516, allocations: 23.94 kB / 1.107 GB, free: 286.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/2.518, allocations: 0.507 MB / 1.107 GB, free: 286.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-05/2.518, allocations: 31.92 kB / 1.107 GB, free: 286.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003666/2.522, allocations: 302.5 kB / 1.107 GB, free: 285.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/2.522, allocations: 91.97 kB / 1.108 GB, free: 285.7 MB / 0.8106 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.0006387/2.523, allocations: 299.7 kB / 1.108 GB, free: 285.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007363/2.524, allocations: 264.7 kB / 1.108 GB, free: 285.1 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003944/2.528, allocations: 1.835 MB / 1.11 GB, free: 283.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/2.528, allocations: 12 kB / 1.11 GB, free: 283.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/2.528, allocations: 0 / 1.11 GB, free: 283.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/2.528, allocations: 3.984 kB / 1.11 GB, free: 283.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008194/2.536, allocations: 4.505 MB / 1.114 GB, free: 278.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/2.536, allocations: 4 kB / 1.114 GB, free: 278.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/2.538, allocations: 308.2 kB / 1.115 GB, free: 278.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.668e-05/2.538, allocations: 8 kB / 1.115 GB, free: 278.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-05/2.538, allocations: 35.97 kB / 1.115 GB, free: 278.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007941/2.539, allocations: 2.367 MB / 1.117 GB, free: 275.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/2.539, allocations: 8.281 kB / 1.117 GB, free: 275.8 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003921/2.543, allocations: 1.975 MB / 1.119 GB, free: 273.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/2.544, allocations: 0.525 MB / 1.119 GB, free: 273.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004562/2.544, allocations: 27.98 kB / 1.119 GB, free: 273.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002398/2.547, allocations: 183.1 kB / 1.12 GB, free: 273 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/2.547, allocations: 80.78 kB / 1.12 GB, free: 272.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/2.547, allocations: 63.95 kB / 1.12 GB, free: 272.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00332/2.55, allocations: 1.723 MB / 1.121 GB, free: 271.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.41e-07/2.551, allocations: 4 kB / 1.121 GB, free: 271.1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006167/2.557, allocations: 1.288 MB / 1.123 GB, free: 269.9 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.007056/2.564, allocations: 2.802 MB / 1.125 GB, free: 267 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01278/2.577, allocations: 3.592 MB / 1.129 GB, free: 263.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.688e-05/2.577, allocations: 8.062 kB / 1.129 GB, free: 263.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002908/2.58, allocations: 0.8032 MB / 1.13 GB, free: 262.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009609/2.589, allocations: 1.195 MB / 1.131 GB, free: 261.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05235/2.642, allocations: 18.8 MB / 1.149 GB, free: 242 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001453/2.643, allocations: 1.693 MB / 1.151 GB, free: 240.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005135/2.648, allocations: 0.7826 MB / 1.152 GB, free: 239.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002238/2.651, allocations: 1.015 MB / 1.153 GB, free: 238.4 MB / 0.8106 GB Notification: Performance of SimCode: time 2.625e-06/2.651, allocations: 0 / 1.153 GB, free: 238.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1586/2.809, allocations: 66 MB / 1.217 GB, free: 173 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.12/32.93, allocations: 11.56 kB / 1.217 GB, free: 173 MB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)