Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_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.0008912/0.0008912, allocations: 93.27 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009182/0.0009182, allocations: 181.9 kB / 16.92 MB, free: 6.672 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6778/0.6778, allocations: 115.5 MB / 407.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003303, allocations: 15.98 kB / 496 MB, free: 6.285 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1538, allocations: 77.53 MB / 0.56 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.9193/1.073, allocations: 321.9 MB / 0.8744 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02732/1.101, allocations: 29.9 MB / 0.9036 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003532/1.104, allocations: 89.5 kB / 0.9036 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004327/1.108, allocations: 1.763 MB / 0.9054 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01015/1.119, allocations: 4.695 MB / 0.91 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007469/1.126, allocations: 3.349 MB / 0.9132 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009037/1.135, allocations: 9.639 MB / 0.9226 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003012/1.138, allocations: 2.362 MB / 0.9249 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01039/1.149, allocations: 4.676 MB / 0.9295 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003464/1.152, allocations: 2.399 MB / 0.9319 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000273/1.152, allocations: 130.7 kB / 0.932 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008184/1.161, allocations: 5.585 MB / 0.9374 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007931/1.161, allocations: 0.9035 MB / 0.9383 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001553/1.163, allocations: 1.561 MB / 0.9398 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006388/1.169, allocations: 5.815 MB / 0.9455 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.169, allocations: 0 / 0.9455 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/1.169, allocations: 0 / 0.9455 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.395e-05/1.169, allocations: 0 / 0.9455 GB, free: 10.39 MB / 0.6544 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.005412/1.175, allocations: 3.055 MB / 0.9485 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/1.175, allocations: 13.58 kB / 0.9485 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003227/1.175, allocations: 298.9 kB / 0.9488 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008814/1.184, allocations: 1.58 MB / 0.9503 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003059/1.187, allocations: 1.99 MB / 0.9523 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001186/1.188, allocations: 436.5 kB / 0.9527 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003089/1.189, allocations: 216.4 kB / 0.9529 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005322/1.194, allocations: 3.11 MB / 0.9559 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/1.194, allocations: 3 kB / 0.9559 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/1.194, allocations: 92.67 kB / 0.956 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.813e-05/1.194, allocations: 86.12 kB / 0.9561 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006655/1.201, allocations: 3.229 MB / 0.9593 GB, free: 1.512 MB / 0.6544 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.01949/1.22, allocations: 14.29 MB / 0.9732 GB, free: 2.367 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003766/1.224, allocations: 1.684 MB / 0.9749 GB, free: 0.6836 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/1.226, allocations: 0.7967 MB / 0.9756 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005481/1.226, allocations: 334.8 kB / 0.976 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/1.227, allocations: 55.55 kB / 0.976 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009426/1.227, allocations: 201.8 kB / 0.9762 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 2.765e-06/1.227, allocations: 0 / 0.9762 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of matching and sorting (n=110): time 0.005282/1.233, allocations: 2.417 MB / 0.9786 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/1.233, allocations: 60.41 kB / 0.9786 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003457/1.236, allocations: 2.564 MB / 0.9811 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/1.236, allocations: 53.7 kB / 0.9812 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000878/1.237, allocations: 1.267 MB / 0.9824 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/1.238, allocations: 392.5 kB / 0.9828 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/1.238, allocations: 129.6 kB / 0.9829 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.492e-05/1.238, allocations: 309.1 kB / 0.9832 GB, free: 8.047 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002458/1.24, allocations: 0.9915 MB / 0.9842 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002877/1.243, allocations: 1.63 MB / 0.9858 GB, free: 5.168 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004412/1.248, allocations: 2.31 MB / 0.988 GB, free: 2.719 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/1.248, allocations: 4 kB / 0.988 GB, free: 2.715 MB / 0.6856 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006145/1.254, allocations: 2.86 MB / 0.9908 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003427/1.254, allocations: 0.5432 MB / 0.9914 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/1.254, allocations: 12 kB / 0.9914 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/1.254, allocations: 24 kB / 0.9914 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002839/1.257, allocations: 0.5778 MB / 0.992 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/1.258, allocations: 2.392 MB / 0.9943 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/1.262, allocations: 445 kB / 0.9947 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/1.262, allocations: 91.95 kB / 0.9948 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/1.262, allocations: 4 kB / 0.9948 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005674/1.268, allocations: 2.629 MB / 0.9974 GB, free: 9.031 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.268, allocations: 12 kB / 0.9974 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/1.268, allocations: 24 kB / 0.9974 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/1.27, allocations: 0.5257 MB / 0.9979 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/1.27, allocations: 23.09 kB / 0.9979 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00283/1.273, allocations: 371.4 kB / 0.9983 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/1.273, allocations: 94.5 kB / 0.9984 GB, free: 8.023 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (208): * Single equations (assignments): 202 * 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.001023/1.274, allocations: 0.6309 MB / 0.999 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003435/1.274, allocations: 260.8 kB / 0.9993 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00407/1.278, allocations: 1.874 MB / 1.001 GB, free: 5.262 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/1.278, allocations: 12 kB / 1.001 GB, free: 5.25 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.278, allocations: 3.984 kB / 1.001 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-06/1.279, allocations: 3.984 kB / 1.001 GB, free: 5.242 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007285/1.286, allocations: 4.553 MB / 1.006 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.286, allocations: 8 kB / 1.006 GB, free: 0.6055 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/1.287, allocations: 310.5 kB / 1.006 GB, free: 324 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/1.287, allocations: 8 kB / 1.006 GB, free: 316 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.798e-05/1.288, allocations: 39.97 kB / 1.006 GB, free: 276 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009683/1.288, allocations: 2.365 MB / 1.008 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.288, allocations: 4 kB / 1.008 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003794/1.292, allocations: 2.024 MB / 1.01 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/1.293, allocations: 0.5435 MB / 1.011 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003053/1.294, allocations: 27.98 kB / 1.011 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002507/1.296, allocations: 287.9 kB / 1.011 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/1.296, allocations: 79.86 kB / 1.011 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/1.297, allocations: 63.94 kB / 1.011 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002702/1.299, allocations: 1.778 MB / 1.013 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/1.299, allocations: 0 / 1.013 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003047/1.302, allocations: 1.298 MB / 1.014 GB, free: 7.621 MB / 0.7169 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.004499/1.307, allocations: 2.844 MB / 1.017 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008222/1.315, allocations: 3.678 MB / 1.021 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.315, allocations: 4.5 kB / 1.021 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001806/1.317, allocations: 0.8269 MB / 1.021 GB, free: 324 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008156/1.325, allocations: 1.323 MB / 1.023 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03713/1.362, allocations: 22.61 MB / 1.045 GB, free: 6.582 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/1.363, allocations: 1.706 MB / 1.046 GB, free: 4.836 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003398/1.367, allocations: 0.7858 MB / 1.047 GB, free: 4.043 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/1.368, allocations: 1.038 MB / 1.048 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of SimCode: time 1.433e-06/1.368, allocations: 0 / 1.048 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.487/3.855, allocations: 72.02 MB / 1.118 GB, free: 390.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/3.856, allocations: 279.1 kB / 1.119 GB, free: 389.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.782/7.637, allocations: 0.5 kB / 1.119 GB, free: 389.9 MB / 0.8106 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)