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: translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 111.1 kB / 16.41 MB, free: 6.496 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.001268/0.001268, allocations: 189.3 kB / 17.34 MB, free: 5.762 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.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6835/0.6835, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 68.8 kB / 0.5577 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1291, allocations: 76.18 MB / 0.6321 GB, free: 4.52 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6039/0.733, allocations: 328.4 MB / 0.9528 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03627/0.7694, allocations: 30.08 MB / 0.9822 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003705/0.7731, allocations: 95.44 kB / 0.9822 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005239/0.7784, allocations: 2.085 MB / 0.9843 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.7903, allocations: 4.976 MB / 0.9891 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.008304/0.7987, allocations: 3.653 MB / 0.9927 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.009576/0.8083, allocations: 6.954 MB / 0.9995 GB, free: 3.961 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00534/0.8136, allocations: 2.867 MB / 1.002 GB, free: 1.035 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01346/0.8271, allocations: 5.339 MB / 1.008 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004714/0.8318, allocations: 2.425 MB / 1.01 GB, free: 9.281 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001037/0.8329, allocations: 296 kB / 1.01 GB, free: 8.992 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009607/0.8425, allocations: 4.805 MB / 1.015 GB, free: 4.176 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001761/0.8443, allocations: 1.075 MB / 1.016 GB, free: 3.098 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003259/0.8476, allocations: 1.723 MB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.8595, allocations: 5.749 MB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.8596, allocations: 7.938 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8596, allocations: 0 / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001771/0.8598, allocations: 0 / 1.023 GB, free: 11.59 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.009587/0.8694, allocations: 3.7 MB / 1.027 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.8695, allocations: 12.02 kB / 1.027 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/0.8795, allocations: 1.464 MB / 1.028 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006041/0.8856, allocations: 2.077 MB / 1.03 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.8859, allocations: 168.1 kB / 1.03 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008289/0.8867, allocations: 224 kB / 1.031 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007174/0.8939, allocations: 3.035 MB / 1.034 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/0.894, allocations: 4 kB / 1.034 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003304/0.8943, allocations: 87.98 kB / 1.034 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.8944, allocations: 99.92 kB / 1.034 GB, free: 432 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007043/0.9015, allocations: 3.099 MB / 1.037 GB, free: 13.3 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.3109/1.212, allocations: 14 MB / 1.051 GB, free: 322.3 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003882/1.216, allocations: 1.647 MB / 1.052 GB, free: 322.2 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/1.218, allocations: 0.7761 MB / 1.053 GB, free: 322.1 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005361/1.219, allocations: 328.5 kB / 1.053 GB, free: 321.9 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/1.219, allocations: 54.89 kB / 1.053 GB, free: 321.8 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001253/1.22, allocations: 197 kB / 1.053 GB, free: 321.8 MB / 0.795 GB Notification: Performance of pre-optimization done (n=110): time 4.619e-06/1.22, allocations: 0 / 1.053 GB, free: 321.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=110): time 0.005872/1.226, allocations: 2.358 MB / 1.056 GB, free: 321.2 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/1.226, allocations: 64.34 kB / 1.056 GB, free: 321.1 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00344/1.229, allocations: 2.514 MB / 1.058 GB, free: 320.2 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002594/1.23, allocations: 55.17 kB / 1.058 GB, free: 320.2 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000772/1.23, allocations: 1.273 MB / 1.06 GB, free: 319.2 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/1.231, allocations: 383.6 kB / 1.06 GB, free: 318.9 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006696/1.231, allocations: 386.3 kB / 1.06 GB, free: 318.8 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.862e-05/1.231, allocations: 305.5 kB / 1.061 GB, free: 318.5 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002678/1.234, allocations: 0.9425 MB / 1.061 GB, free: 318.2 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002719/1.237, allocations: 1.568 MB / 1.063 GB, free: 317.2 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004409/1.241, allocations: 2.229 MB / 1.065 GB, free: 316 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/1.241, allocations: 5.875 kB / 1.065 GB, free: 316 MB / 0.795 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006223/1.247, allocations: 2.757 MB / 1.068 GB, free: 315.1 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/1.248, allocations: 71.88 kB / 1.068 GB, free: 315 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/1.248, allocations: 10.66 kB / 1.068 GB, free: 315 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.505e-05/1.248, allocations: 20.5 kB / 1.068 GB, free: 315 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002748/1.25, allocations: 0.5485 MB / 1.069 GB, free: 315 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008496/1.251, allocations: 2.395 MB / 1.071 GB, free: 312.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003337/1.255, allocations: 282.2 kB / 1.071 GB, free: 312.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/1.255, allocations: 87.33 kB / 1.071 GB, free: 312.5 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003048/1.258, allocations: 1.384 MB / 1.073 GB, free: 312 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002354/1.26, allocations: 1.563 MB / 1.074 GB, free: 311 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003694/1.264, allocations: 2.22 MB / 1.076 GB, free: 309.8 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.665e-06/1.264, allocations: 3.938 kB / 1.076 GB, free: 309.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.005415/1.269, allocations: 2.745 MB / 1.079 GB, free: 308.9 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/1.269, allocations: 66.78 kB / 1.079 GB, free: 308.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/1.269, allocations: 18.34 kB / 1.079 GB, free: 308.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.269, allocations: 23.59 kB / 1.079 GB, free: 308.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/1.272, allocations: 0.5043 MB / 1.08 GB, free: 308.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/1.272, allocations: 27.5 kB / 1.08 GB, free: 308.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003095/1.275, allocations: 288.4 kB / 1.08 GB, free: 308.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/1.275, allocations: 89.3 kB / 1.08 GB, free: 308.6 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.0005136/1.275, allocations: 300.4 kB / 1.08 GB, free: 308.3 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004234/1.276, allocations: 262.3 kB / 1.08 GB, free: 308.2 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003609/1.279, allocations: 1.844 MB / 1.082 GB, free: 307.2 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/1.279, allocations: 14.19 kB / 1.082 GB, free: 307.2 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.279, allocations: 3.938 kB / 1.082 GB, free: 307.2 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/1.279, allocations: 3.984 kB / 1.082 GB, free: 307.2 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007123/1.287, allocations: 4.492 MB / 1.087 GB, free: 304.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.287, allocations: 9.719 kB / 1.087 GB, free: 304.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/1.288, allocations: 313 kB / 1.087 GB, free: 304.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.632e-05/1.288, allocations: 8.234 kB / 1.087 GB, free: 304.2 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.332e-05/1.288, allocations: 30.36 kB / 1.087 GB, free: 304.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007621/1.289, allocations: 2.366 MB / 1.089 GB, free: 301.8 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.289, allocations: 15.44 kB / 1.089 GB, free: 301.8 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003628/1.293, allocations: 1.979 MB / 1.091 GB, free: 300 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.294, allocations: 0.5173 MB / 1.092 GB, free: 299.4 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003609/1.294, allocations: 38.36 kB / 1.092 GB, free: 299.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/1.296, allocations: 179.7 kB / 1.092 GB, free: 299.2 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/1.296, allocations: 89.38 kB / 1.092 GB, free: 299.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.296, allocations: 63.95 kB / 1.092 GB, free: 299.1 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002232/1.299, allocations: 1.731 MB / 1.094 GB, free: 297.4 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/1.299, allocations: 0 / 1.094 GB, free: 297.4 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002702/1.301, allocations: 1.285 MB / 1.095 GB, free: 296.1 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.0006465/1.302, allocations: 369.5 kB / 1.095 GB, free: 295.8 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.007387/1.309, allocations: 3.553 MB / 1.099 GB, free: 292.2 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.31, allocations: 4 kB / 1.099 GB, free: 292.2 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001659/1.311, allocations: 0.8112 MB / 1.1 GB, free: 291.4 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005454/1.317, allocations: 1.203 MB / 1.101 GB, free: 290.2 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00619/1.323, allocations: 4.238 MB / 1.105 GB, free: 285.9 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008156/1.324, allocations: 1.7 MB / 1.107 GB, free: 284.1 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002608/1.326, allocations: 0.7749 MB / 1.107 GB, free: 283.4 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005392/1.327, allocations: 195.4 kB / 1.108 GB, free: 283.2 MB / 0.795 GB Notification: Performance of SimCode: time 6.41e-07/1.327, allocations: 8 kB / 1.108 GB, free: 283.2 MB / 0.795 GB Notification: Performance of Templates: time 0.05374/1.381, allocations: 46.11 MB / 1.153 GB, free: 237.7 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)