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.00087/0.00087, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005131/0.005131, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.238/1.238, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.853/0.853, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003192, allocations: 16 kB / 0.5077 GB, free: 4.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1387, allocations: 82.31 MB / 0.5881 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.8658/1.005, allocations: 321.9 MB / 0.9024 GB, free: 1.809 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02971/1.034, allocations: 29.89 MB / 0.9316 GB, free: 1.465 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002804/1.037, allocations: 85.22 kB / 0.9317 GB, free: 1.465 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003846/1.041, allocations: 1.767 MB / 0.9334 GB, free: 1.418 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01074/1.052, allocations: 4.657 MB / 0.9379 GB, free: 1.184 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007917/1.06, allocations: 3.365 MB / 0.9412 GB, free: 1.051 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009744/1.069, allocations: 9.612 MB / 0.9506 GB, free: 1.027 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003625/1.073, allocations: 2.36 MB / 0.9529 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.011/1.084, allocations: 4.672 MB / 0.9575 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004447/1.088, allocations: 2.387 MB / 0.9598 GB, free: 16.18 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006552/1.089, allocations: 132.8 kB / 0.9599 GB, free: 16.18 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009396/1.099, allocations: 5.584 MB / 0.9654 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001251/1.1, allocations: 0.9022 MB / 0.9663 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00254/1.102, allocations: 1.563 MB / 0.9678 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007466/1.11, allocations: 5.805 MB / 0.9735 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/1.11, allocations: 2.812 kB / 0.9735 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.633e-06/1.11, allocations: 3.188 kB / 0.9735 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.746e-05/1.11, allocations: 0 / 0.9735 GB, free: 11.97 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.005891/1.116, allocations: 3.054 MB / 0.9765 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/1.116, allocations: 9.562 kB / 0.9765 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003501/1.116, allocations: 306.8 kB / 0.9768 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009634/1.126, allocations: 1.572 MB / 0.9783 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003314/1.129, allocations: 1.986 MB / 0.9802 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001293/1.131, allocations: 434 kB / 0.9806 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003319/1.131, allocations: 220.4 kB / 0.9809 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005324/1.136, allocations: 3.105 MB / 0.9839 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.873e-05/1.136, allocations: 3 kB / 0.9839 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/1.136, allocations: 95.02 kB / 0.984 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.406e-05/1.137, allocations: 95.28 kB / 0.9841 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006552/1.143, allocations: 3.223 MB / 0.9872 GB, free: 6.453 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.02039/1.164, allocations: 14.3 MB / 1.001 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004036/1.168, allocations: 1.69 MB / 1.003 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/1.169, allocations: 0.7985 MB / 1.004 GB, free: 6.133 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005966/1.17, allocations: 342.8 kB / 1.004 GB, free: 5.75 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/1.17, allocations: 51.5 kB / 1.004 GB, free: 5.691 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009064/1.171, allocations: 202 kB / 1.004 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 3.016e-06/1.171, allocations: 0 / 1.004 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of matching and sorting (n=110): time 0.005611/1.177, allocations: 2.418 MB / 1.007 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/1.177, allocations: 60.41 kB / 1.007 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003685/1.18, allocations: 2.56 MB / 1.009 GB, free: 452 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/1.18, allocations: 59.58 kB / 1.009 GB, free: 388 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/1.181, allocations: 1.272 MB / 1.01 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/1.182, allocations: 390.8 kB / 1.011 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/1.182, allocations: 137.6 kB / 1.011 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.869e-05/1.182, allocations: 305.1 kB / 1.011 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/1.185, allocations: 1.007 MB / 1.012 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003132/1.188, allocations: 1.644 MB / 1.014 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004821/1.193, allocations: 2.34 MB / 1.016 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/1.193, allocations: 4 kB / 1.016 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006632/1.199, allocations: 2.896 MB / 1.019 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003446/1.2, allocations: 0.5541 MB / 1.019 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/1.2, allocations: 16 kB / 1.019 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/1.2, allocations: 20 kB / 1.019 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003052/1.203, allocations: 0.5951 MB / 1.02 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/1.204, allocations: 2.387 MB / 1.022 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/1.208, allocations: 447.3 kB / 1.023 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/1.208, allocations: 95.95 kB / 1.023 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/1.208, allocations: 10.94 kB / 1.023 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006335/1.214, allocations: 2.648 MB / 1.026 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/1.214, allocations: 16.12 kB / 1.026 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/1.214, allocations: 24 kB / 1.026 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/1.217, allocations: 0.5353 MB / 1.026 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.422e-05/1.217, allocations: 26.28 kB / 1.026 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002956/1.22, allocations: 379.4 kB / 1.026 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/1.22, allocations: 95.89 kB / 1.027 GB, free: 14.09 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.00108/1.221, allocations: 0.626 MB / 1.027 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003693/1.221, allocations: 268.7 kB / 1.027 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004442/1.226, allocations: 1.878 MB / 1.029 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/1.226, allocations: 15.98 kB / 1.029 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.226, allocations: 4 kB / 1.029 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/1.226, allocations: 3.984 kB / 1.029 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007907/1.234, allocations: 4.526 MB / 1.034 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/1.234, allocations: 4 kB / 1.034 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/1.236, allocations: 319.9 kB / 1.034 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/1.236, allocations: 12 kB / 1.034 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-05/1.236, allocations: 31.98 kB / 1.034 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/1.237, allocations: 2.364 MB / 1.036 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.237, allocations: 11.09 kB / 1.036 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003964/1.241, allocations: 2.012 MB / 1.038 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009417/1.242, allocations: 0.5405 MB / 1.039 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003034/1.242, allocations: 31.98 kB / 1.039 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002477/1.245, allocations: 289 kB / 1.039 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/1.245, allocations: 83.88 kB / 1.039 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/1.245, allocations: 63.95 kB / 1.039 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002822/1.248, allocations: 1.763 MB / 1.041 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.222e-06/1.248, allocations: 0 / 1.041 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003115/1.251, allocations: 1.305 MB / 1.042 GB, free: 13.71 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.004823/1.256, allocations: 2.841 MB / 1.045 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008776/1.264, allocations: 3.714 MB / 1.049 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.264, allocations: 0 / 1.049 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001948/1.266, allocations: 0.834 MB / 1.05 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007968/1.274, allocations: 1.307 MB / 1.051 GB, free: 5.082 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03907/1.313, allocations: 22.69 MB / 1.073 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/1.315, allocations: 1.694 MB / 1.075 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003483/1.318, allocations: 0.7857 MB / 1.075 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/1.32, allocations: 1.034 MB / 1.076 GB, free: 9 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/1.32, allocations: 3.938 kB / 1.076 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.523/3.842, allocations: 71.49 MB / 1.146 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002743/3.843, allocations: 284.2 kB / 1.146 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.575/7.417, allocations: 4 kB / 1.146 GB, free: 1.941 MB / 0.8419 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)