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.001445/0.001445, allocations: 106.4 kB / 16.4 MB, free: 6.5 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.001264/0.001264, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.263/1.263, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6976/0.6976, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 65.03 kB / 0.5572 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1266, allocations: 76.18 MB / 0.6316 GB, free: 4.871 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6094/0.736, allocations: 328.4 MB / 0.9523 GB, free: 3.898 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03423/0.7703, allocations: 30.08 MB / 0.9817 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003907/0.7742, allocations: 99.44 kB / 0.9818 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005355/0.7797, allocations: 2.093 MB / 0.9838 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01284/0.7926, allocations: 4.989 MB / 0.9887 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.008881/0.8015, allocations: 3.644 MB / 0.9922 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.009558/0.811, allocations: 6.95 MB / 0.999 GB, free: 3.934 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004739/0.8158, allocations: 2.863 MB / 1.002 GB, free: 1.012 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01282/0.8286, allocations: 5.343 MB / 1.007 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00453/0.8332, allocations: 2.42 MB / 1.009 GB, free: 9.258 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001084/0.8343, allocations: 296 kB / 1.01 GB, free: 8.969 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009527/0.8438, allocations: 4.813 MB / 1.014 GB, free: 4.145 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001694/0.8455, allocations: 1.063 MB / 1.015 GB, free: 3.078 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003422/0.8489, allocations: 1.738 MB / 1.017 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01194/0.8609, allocations: 5.749 MB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.8609, allocations: 0 / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8609, allocations: 0 / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001523/0.8611, allocations: 0 / 1.023 GB, free: 11.57 MB / 0.7794 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.00907/0.8702, allocations: 3.696 MB / 1.026 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.8702, allocations: 16.03 kB / 1.026 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007042/0.871, allocations: 295.6 kB / 1.027 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009792/0.8808, allocations: 1.475 MB / 1.028 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005572/0.8864, allocations: 2.073 MB / 1.03 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.8866, allocations: 168.1 kB / 1.03 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006196/0.8872, allocations: 224 kB / 1.03 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006748/0.894, allocations: 3.035 MB / 1.033 GB, free: 284 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-05/0.894, allocations: 0 / 1.033 GB, free: 284 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003929/0.8944, allocations: 92 kB / 1.034 GB, free: 192 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.055e-05/0.8945, allocations: 88 kB / 1.034 GB, free: 100 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006978/0.9015, allocations: 3.111 MB / 1.037 GB, free: 12.97 MB / 0.795 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.3183/1.22, allocations: 14 MB / 1.05 GB, free: 322.4 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00394/1.224, allocations: 1.654 MB / 1.052 GB, free: 322.4 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/1.225, allocations: 0.7805 MB / 1.053 GB, free: 322.4 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005664/1.226, allocations: 323.9 kB / 1.053 GB, free: 322.1 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/1.226, allocations: 56.05 kB / 1.053 GB, free: 322.1 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001167/1.227, allocations: 198.6 kB / 1.053 GB, free: 322.1 MB / 0.795 GB Notification: Performance of pre-optimization done (n=110): time 4.278e-06/1.227, allocations: 0 / 1.053 GB, free: 322.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=110): time 0.00575/1.233, allocations: 2.36 MB / 1.056 GB, free: 321.7 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/1.233, allocations: 64.94 kB / 1.056 GB, free: 321.6 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003686/1.237, allocations: 2.51 MB / 1.058 GB, free: 320.7 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002331/1.237, allocations: 62.3 kB / 1.058 GB, free: 320.7 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009583/1.238, allocations: 1.26 MB / 1.059 GB, free: 319.7 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/1.238, allocations: 396 kB / 1.06 GB, free: 319.4 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007731/1.239, allocations: 385.2 kB / 1.06 GB, free: 319.3 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.077e-05/1.239, allocations: 301.6 kB / 1.06 GB, free: 319 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002411/1.242, allocations: 0.9473 MB / 1.061 GB, free: 318.7 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002784/1.244, allocations: 1.563 MB / 1.063 GB, free: 317.7 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004101/1.248, allocations: 2.234 MB / 1.065 GB, free: 316.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/1.248, allocations: 4.781 kB / 1.065 GB, free: 316.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005928/1.254, allocations: 2.751 MB / 1.068 GB, free: 315.6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.199e-05/1.254, allocations: 72.81 kB / 1.068 GB, free: 315.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/1.255, allocations: 13.44 kB / 1.068 GB, free: 315.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.063e-05/1.255, allocations: 24.31 kB / 1.068 GB, free: 315.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002746/1.257, allocations: 0.5407 MB / 1.068 GB, free: 315.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008786/1.258, allocations: 2.393 MB / 1.071 GB, free: 313.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003271/1.262, allocations: 282 kB / 1.071 GB, free: 313.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/1.262, allocations: 91.86 kB / 1.071 GB, free: 313.1 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002853/1.265, allocations: 1.38 MB / 1.072 GB, free: 312.5 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002251/1.267, allocations: 1.566 MB / 1.074 GB, free: 311.5 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003477/1.27, allocations: 2.223 MB / 1.076 GB, free: 310.3 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.827e-06/1.27, allocations: 3.969 kB / 1.076 GB, free: 310.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.005352/1.276, allocations: 2.741 MB / 1.079 GB, free: 309.4 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/1.276, allocations: 80.14 kB / 1.079 GB, free: 309.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/1.276, allocations: 11.88 kB / 1.079 GB, free: 309.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/1.276, allocations: 23.75 kB / 1.079 GB, free: 309.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/1.278, allocations: 0.4958 MB / 1.079 GB, free: 309.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.341e-05/1.278, allocations: 31.23 kB / 1.079 GB, free: 309.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/1.281, allocations: 289.6 kB / 1.08 GB, free: 309.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/1.281, allocations: 95.03 kB / 1.08 GB, free: 309.1 MB / 0.795 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.0005326/1.282, allocations: 291 kB / 1.08 GB, free: 308.8 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000465/1.282, allocations: 266 kB / 1.08 GB, free: 308.7 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/1.286, allocations: 1.848 MB / 1.082 GB, free: 307.6 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/1.286, allocations: 10.38 kB / 1.082 GB, free: 307.6 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.286, allocations: 0 / 1.082 GB, free: 307.6 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/1.286, allocations: 4.547 kB / 1.082 GB, free: 307.6 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006823/1.293, allocations: 4.504 MB / 1.086 GB, free: 304.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/1.293, allocations: 10.66 kB / 1.087 GB, free: 304.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/1.294, allocations: 306.2 kB / 1.087 GB, free: 304.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/1.294, allocations: 11.34 kB / 1.087 GB, free: 304.7 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.476e-05/1.294, allocations: 31.33 kB / 1.087 GB, free: 304.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000633/1.295, allocations: 2.366 MB / 1.089 GB, free: 302.3 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.295, allocations: 7.344 kB / 1.089 GB, free: 302.3 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003323/1.298, allocations: 1.978 MB / 1.091 GB, free: 300.3 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009598/1.299, allocations: 0.5288 MB / 1.092 GB, free: 299.8 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003297/1.3, allocations: 28 kB / 1.092 GB, free: 299.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/1.302, allocations: 181.7 kB / 1.092 GB, free: 299.6 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/1.302, allocations: 76.73 kB / 1.092 GB, free: 299.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.302, allocations: 74.75 kB / 1.092 GB, free: 299.4 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002168/1.304, allocations: 1.727 MB / 1.094 GB, free: 297.7 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/1.304, allocations: 0 / 1.094 GB, free: 297.7 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002716/1.307, allocations: 1.286 MB / 1.095 GB, free: 296.4 MB / 0.795 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.00374/1.311, allocations: 2.792 MB / 1.098 GB, free: 293.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.006834/1.317, allocations: 3.553 MB / 1.101 GB, free: 290 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.318, allocations: 5.328 kB / 1.101 GB, free: 290 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001528/1.319, allocations: 0.8142 MB / 1.102 GB, free: 289.2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004955/1.324, allocations: 1.206 MB / 1.103 GB, free: 288 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02693/1.351, allocations: 18.72 MB / 1.121 GB, free: 268.6 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008608/1.352, allocations: 1.703 MB / 1.123 GB, free: 266.9 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002886/1.355, allocations: 0.7712 MB / 1.124 GB, free: 266.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/1.356, allocations: 1.019 MB / 1.125 GB, free: 265.1 MB / 0.795 GB Notification: Performance of SimCode: time 8.51e-07/1.356, allocations: 0 / 1.125 GB, free: 265.1 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09005/1.446, allocations: 66.31 MB / 1.19 GB, free: 199.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/17.28, allocations: 2.812 kB / 1.19 GB, free: 199.5 MB / 0.795 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)