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.001057/0.001057, allocations: 91.86 kB / 15.36 MB, free: 0.7422 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.008378/0.008378, allocations: 179.3 kB / 16.26 MB, free: 6.605 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.322/1.322, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7541/0.7541, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 8 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.378, allocations: 81.58 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6212/0.9993, allocations: 321.9 MB / 0.8981 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02769/1.027, allocations: 29.89 MB / 0.9273 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003364/1.03, allocations: 90.78 kB / 0.9274 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004472/1.035, allocations: 1.761 MB / 0.9291 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01228/1.047, allocations: 4.664 MB / 0.9336 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008773/1.056, allocations: 3.355 MB / 0.9369 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01001/1.066, allocations: 9.618 MB / 0.9463 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003698/1.07, allocations: 2.367 MB / 0.9486 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01191/1.082, allocations: 4.664 MB / 0.9532 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004862/1.087, allocations: 2.384 MB / 0.9555 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006117/1.087, allocations: 132 kB / 0.9556 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01007/1.097, allocations: 5.585 MB / 0.9611 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001431/1.099, allocations: 0.9046 MB / 0.962 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002498/1.101, allocations: 1.564 MB / 0.9635 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00907/1.11, allocations: 5.808 MB / 0.9692 GB, free: 11.83 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.11, allocations: 0 / 0.9692 GB, free: 11.83 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.583e-06/1.11, allocations: 4 kB / 0.9692 GB, free: 11.82 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.44e-05/1.11, allocations: 0 / 0.9692 GB, free: 11.82 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.006416/1.117, allocations: 3.05 MB / 0.9721 GB, free: 8.734 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/1.117, allocations: 12.03 kB / 0.9722 GB, free: 8.723 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004594/1.117, allocations: 302.6 kB / 0.9724 GB, free: 8.418 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009525/1.127, allocations: 1.58 MB / 0.974 GB, free: 6.836 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003755/1.131, allocations: 1.986 MB / 0.9759 GB, free: 4.871 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001312/1.132, allocations: 436.2 kB / 0.9763 GB, free: 4.441 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004552/1.132, allocations: 223 kB / 0.9766 GB, free: 4.227 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005929/1.138, allocations: 3.102 MB / 0.9796 GB, free: 1 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.071e-05/1.138, allocations: 2.906 kB / 0.9796 GB, free: 1 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002558/1.139, allocations: 95.94 kB / 0.9797 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.401e-05/1.139, allocations: 88 kB / 0.9798 GB, free: 0.8164 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007106/1.146, allocations: 3.222 MB / 0.9829 GB, free: 13.6 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.02079/1.167, allocations: 14.31 MB / 0.9969 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003887/1.171, allocations: 1.692 MB / 0.9985 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/1.172, allocations: 0.7924 MB / 0.9993 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005974/1.173, allocations: 336.1 kB / 0.9996 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/1.173, allocations: 51.56 kB / 0.9997 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001074/1.174, allocations: 201.8 kB / 0.9999 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 4.198e-06/1.174, allocations: 0 / 0.9999 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of matching and sorting (n=110): time 0.005682/1.18, allocations: 2.414 MB / 1.002 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/1.18, allocations: 68.39 kB / 1.002 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004031/1.184, allocations: 2.56 MB / 1.005 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002225/1.184, allocations: 61.64 kB / 1.005 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009841/1.185, allocations: 1.271 MB / 1.006 GB, free: 4.844 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/1.185, allocations: 393 kB / 1.006 GB, free: 4.461 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/1.186, allocations: 137.6 kB / 1.007 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.169e-05/1.186, allocations: 301.1 kB / 1.007 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002597/1.188, allocations: 1.003 MB / 1.008 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003011/1.191, allocations: 1.645 MB / 1.009 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004626/1.196, allocations: 2.335 MB / 1.012 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/1.196, allocations: 4 kB / 1.012 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006681/1.203, allocations: 2.907 MB / 1.015 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003221/1.203, allocations: 0.554 MB / 1.015 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/1.203, allocations: 12 kB / 1.015 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/1.203, allocations: 24 kB / 1.015 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/1.206, allocations: 0.5851 MB / 1.016 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/1.207, allocations: 2.391 MB / 1.018 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003683/1.211, allocations: 447.4 kB / 1.019 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/1.211, allocations: 91.95 kB / 1.019 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/1.211, allocations: 9.969 kB / 1.019 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006113/1.217, allocations: 2.653 MB / 1.021 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/1.217, allocations: 12 kB / 1.021 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/1.217, allocations: 24.75 kB / 1.021 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/1.22, allocations: 0.5344 MB / 1.022 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.285e-05/1.22, allocations: 31.86 kB / 1.022 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/1.223, allocations: 371.5 kB / 1.022 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/1.223, allocations: 91.95 kB / 1.022 GB, free: 3.516 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.001137/1.224, allocations: 0.6255 MB / 1.023 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005123/1.225, allocations: 268.7 kB / 1.023 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004347/1.229, allocations: 1.878 MB / 1.025 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/1.229, allocations: 8 kB / 1.025 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/1.229, allocations: 4 kB / 1.025 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/1.229, allocations: 11.97 kB / 1.025 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008092/1.237, allocations: 4.53 MB / 1.029 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/1.237, allocations: 8 kB / 1.029 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/1.239, allocations: 321.3 kB / 1.03 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/1.239, allocations: 8 kB / 1.03 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.012e-05/1.239, allocations: 35.98 kB / 1.03 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009964/1.24, allocations: 2.364 MB / 1.032 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.24, allocations: 7.938 kB / 1.032 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0038/1.244, allocations: 2.018 MB / 1.034 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/1.245, allocations: 0.5485 MB / 1.035 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003826/1.245, allocations: 31.92 kB / 1.035 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002475/1.248, allocations: 281.8 kB / 1.035 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/1.248, allocations: 76.78 kB / 1.035 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.248, allocations: 67.94 kB / 1.035 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002766/1.251, allocations: 1.77 MB / 1.037 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.41e-07/1.251, allocations: 4 kB / 1.037 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0033/1.254, allocations: 1.298 MB / 1.038 GB, free: 3.023 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.004666/1.259, allocations: 2.838 MB / 1.041 GB, free: 124 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008569/1.267, allocations: 3.718 MB / 1.044 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.267, allocations: 4 kB / 1.044 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001891/1.269, allocations: 0.832 MB / 1.045 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007959/1.277, allocations: 1.302 MB / 1.046 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03923/1.317, allocations: 22.68 MB / 1.069 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/1.318, allocations: 1.702 MB / 1.07 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003415/1.321, allocations: 0.7857 MB / 1.071 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/1.323, allocations: 1.038 MB / 1.072 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of SimCode: time 7.51e-07/1.323, allocations: 0 / 1.072 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9389/2.261, allocations: 71.48 MB / 1.142 GB, free: 343.8 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/2.262, allocations: 271.9 kB / 1.142 GB, free: 343.4 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.709/5.971, allocations: 0 / 1.142 GB, free: 343.4 MB / 0.795 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)