Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001363/0.002368, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001057/0.002124, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8886/0.8886, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08042/0.969, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8151/0.8151, allocations: 154.6 MB / 398.8 MB, free: 384 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2659/1.081, allocations: 49.04 MB / 447.8 MB, free: 6.566 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 449.2 MB, free: 5.23 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.924e-05, allocations: 6.062 kB / 449.2 MB, free: 5.227 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01829/0.01832, allocations: 21.13 MB / 470.3 MB, free: 96 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.03134, allocations: 8.551 MB / 478.9 MB, free: 7.621 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.03309, allocations: 151.7 kB / 479 MB, free: 7.473 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.03428, allocations: 0.6824 MB / 479.7 MB, free: 6.785 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002789/0.03707, allocations: 2.442 MB / 482.1 MB, free: 4.352 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.03941, allocations: 1.938 MB / 484.1 MB, free: 2.43 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.005685/0.0451, allocations: 6.689 MB / 490.8 MB, free: 11.73 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.04717, allocations: 1.709 MB / 492.5 MB, free: 9.992 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003801/0.05097, allocations: 3.343 MB / 495.8 MB, free: 6.668 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/0.05259, allocations: 1.502 MB / 497.3 MB, free: 5.164 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002398/0.05283, allocations: 196.8 kB / 497.5 MB, free: 4.973 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007994/0.05363, allocations: 407.5 kB / 497.9 MB, free: 4.574 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003832/0.05401, allocations: 485.2 kB / 498.4 MB, free: 4.102 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000746/0.05475, allocations: 0.7213 MB / 499.1 MB, free: 3.379 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.05665, allocations: 1.791 MB / 0.4891 GB, free: 1.582 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.428e-05/0.05667, allocations: 0 / 0.4891 GB, free: 1.582 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.05667, allocations: 0 / 0.4891 GB, free: 1.582 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.332e-05/0.05669, allocations: 0 / 0.4891 GB, free: 1.582 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.003133/0.05982, allocations: 3.045 MB / 0.4921 GB, free: 14.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.05986, allocations: 8.031 kB / 0.4921 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005456/0.0604, allocations: 329.2 kB / 0.4924 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.06241, allocations: 1.35 MB / 0.4938 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/0.06248, allocations: 106.7 kB / 0.4939 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.06265, allocations: 150.2 kB / 0.494 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.06394, allocations: 1.312 MB / 0.4953 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.06397, allocations: 7.938 kB / 0.4953 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.99e-05/0.06406, allocations: 59.98 kB / 0.4953 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-05/0.06411, allocations: 40.91 kB / 0.4954 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006001/0.06471, allocations: 386.7 kB / 0.4958 GB, free: 10.54 MB / 490.7 MB 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.004468/0.06918, allocations: 4.231 MB / 0.4999 GB, free: 6.184 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.06953, allocations: 262.6 kB / 0.5001 GB, free: 5.922 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.06967, allocations: 115.6 kB / 0.5002 GB, free: 5.809 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.06978, allocations: 32.48 kB / 0.5003 GB, free: 5.777 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.0698, allocations: 47 kB / 0.5003 GB, free: 5.719 MB / 490.7 MB Notification: Performance of pre-optimization done (n=59): time 1.843e-06/0.0698, allocations: 0 / 0.5003 GB, free: 5.719 MB / 490.7 MB Notification: Performance of matching and sorting (n=59): time 0.0005446/0.07035, allocations: 364.3 kB / 0.5007 GB, free: 5.363 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.07038, allocations: 55.91 kB / 0.5007 GB, free: 5.297 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.07145, allocations: 1.273 MB / 0.502 GB, free: 4.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.0715, allocations: 41.7 kB / 0.502 GB, free: 3.973 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/0.07189, allocations: 0.7237 MB / 0.5027 GB, free: 3.238 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.07203, allocations: 226 kB / 0.5029 GB, free: 3.016 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.07224, allocations: 227.6 kB / 0.5031 GB, free: 2.789 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000318/0.07256, allocations: 353.8 kB / 0.5035 GB, free: 2.438 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.07279, allocations: 121.4 kB / 0.5036 GB, free: 2.316 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/0.07328, allocations: 0.7528 MB / 0.5043 GB, free: 1.348 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007097/0.07399, allocations: 0.7062 MB / 0.505 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.074, allocations: 7.938 kB / 0.505 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0008795/0.07487, allocations: 0.6659 MB / 0.5057 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.07489, allocations: 8 kB / 0.5057 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.0749, allocations: 8 kB / 0.5057 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.07493, allocations: 16 kB / 0.5057 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006701/0.0756, allocations: 292.1 kB / 0.506 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/0.07561, allocations: 24.86 kB / 0.506 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005675/0.07618, allocations: 116.9 kB / 0.5061 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.07625, allocations: 43.98 kB / 0.5062 GB, free: 15.35 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 initialization (135): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002743/0.07652, allocations: 184.3 kB / 0.5063 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.07669, allocations: 121 kB / 0.5065 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006437/0.07734, allocations: 438.2 kB / 0.5069 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.07735, allocations: 13.08 kB / 0.5069 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.07735, allocations: 4 kB / 0.5069 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003535/0.07771, allocations: 381.3 kB / 0.5073 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.07951, allocations: 1.3 MB / 0.5085 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.07951, allocations: 5.062 kB / 0.5085 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004909/0.08, allocations: 176.5 kB / 0.5087 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003081/0.08031, allocations: 207.4 kB / 0.5089 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.08032, allocations: 4 kB / 0.5089 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.08035, allocations: 22.2 kB / 0.5089 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.08036, allocations: 4 kB / 0.5089 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.08036, allocations: 7.875 kB / 0.5089 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006694/0.08103, allocations: 0.6461 MB / 0.5096 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.08115, allocations: 20.83 kB / 0.5096 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.08162, allocations: 49.52 kB / 0.5096 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.482e-05/0.0817, allocations: 52.34 kB / 0.5097 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.08174, allocations: 23.97 kB / 0.5097 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008531/0.0826, allocations: 0.6361 MB / 0.5103 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0826, allocations: 0 / 0.5103 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008947/0.08349, allocations: 0.5262 MB / 0.5108 GB, free: 10.41 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003063/0.0838, allocations: 174.4 kB / 0.511 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000586/0.08438, allocations: 462.2 kB / 0.5114 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.439e-05/0.08442, allocations: 28.44 kB / 0.5115 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.08473, allocations: 221.2 kB / 0.5117 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004323/0.08905, allocations: 6.333 MB / 0.5179 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.1004, allocations: 2.746 MB / 0.5206 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.1006, allocations: 324 kB / 0.5209 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006977/0.1013, allocations: 278.3 kB / 0.5211 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/0.1026, allocations: 0.6228 MB / 0.5217 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/0.1026, allocations: 0 / 0.5217 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of Templates: time 0.03894/0.1416, allocations: 35.01 MB / 0.5559 GB, free: 11.98 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.199402353726327]