Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001008/0.001008, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001294/0.002302, allocations: 435.8 kB / 10.33 MB, free: 368 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.001051/0.001051, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001413/0.002464, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9301/0.9301, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08137/1.012, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7763/0.7763, allocations: 155.3 MB / 399.2 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/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.2555/1.032, allocations: 49.13 MB / 448.4 MB, free: 6.012 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-master/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_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 449.7 MB, free: 4.707 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.205e-05, allocations: 2.312 kB / 449.7 MB, free: 4.703 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.03668/0.0367, allocations: 21.12 MB / 470.8 MB, free: 15.58 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01543/0.05213, allocations: 8.551 MB / 479.4 MB, free: 7.102 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003127/0.05526, allocations: 155.9 kB / 479.5 MB, free: 6.949 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.05676, allocations: 0.6824 MB / 480.2 MB, free: 6.262 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004662/0.06142, allocations: 2.441 MB / 482.7 MB, free: 3.828 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.06496, allocations: 1.936 MB / 484.6 MB, free: 1.914 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01602/0.08098, allocations: 6.68 MB / 491.3 MB, free: 11.22 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0222/0.1032, allocations: 1.73 MB / 493 MB, free: 9.469 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01451/0.1177, allocations: 3.381 MB / 496.4 MB, free: 6.102 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009239/0.1269, allocations: 1.516 MB / 497.9 MB, free: 4.586 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004019/0.1273, allocations: 192 kB / 498.1 MB, free: 4.398 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004126/0.1315, allocations: 407.5 kB / 498.5 MB, free: 4 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000487/0.1319, allocations: 478.9 kB / 499 MB, free: 3.531 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.1331, allocations: 0.7174 MB / 499.7 MB, free: 2.812 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.1352, allocations: 1.799 MB / 0.4897 GB, free: 1.008 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.691e-05/0.1352, allocations: 0 / 0.4897 GB, free: 1.008 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1352, allocations: 0.6875 kB / 0.4897 GB, free: 1.008 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.627e-05/0.1352, allocations: 0 / 0.4897 GB, free: 1.008 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.002548/0.1378, allocations: 3.038 MB / 0.4927 GB, free: 13.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.1378, allocations: 8.031 kB / 0.4927 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004863/0.1383, allocations: 334 kB / 0.493 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.1398, allocations: 1.346 MB / 0.4943 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.568e-05/0.1399, allocations: 106.7 kB / 0.4944 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.14, allocations: 155.9 kB / 0.4946 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.1411, allocations: 1.31 MB / 0.4959 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.1411, allocations: 1.5 kB / 0.4959 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.237e-05/0.1412, allocations: 56 kB / 0.4959 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.1412, allocations: 47.94 kB / 0.496 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000448/0.1417, allocations: 382.8 kB / 0.4963 GB, free: 9.973 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.003529/0.1452, allocations: 4.23 MB / 0.5005 GB, free: 5.621 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.1455, allocations: 261.6 kB / 0.5007 GB, free: 5.355 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.1456, allocations: 121.1 kB / 0.5008 GB, free: 5.234 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.1457, allocations: 32.48 kB / 0.5009 GB, free: 5.203 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.1457, allocations: 43 kB / 0.5009 GB, free: 5.148 MB / 490.7 MB Notification: Performance of pre-optimization done (n=59): time 2.375e-06/0.1457, allocations: 1.406 kB / 0.5009 GB, free: 5.148 MB / 490.7 MB Notification: Performance of matching and sorting (n=59): time 0.0004802/0.1462, allocations: 361.9 kB / 0.5012 GB, free: 4.793 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.1463, allocations: 59.91 kB / 0.5013 GB, free: 4.723 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008357/0.1471, allocations: 1.27 MB / 0.5025 GB, free: 3.449 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.1471, allocations: 41.7 kB / 0.5026 GB, free: 3.402 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.1474, allocations: 0.7237 MB / 0.5033 GB, free: 2.668 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.1476, allocations: 230 kB / 0.5035 GB, free: 2.441 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.1477, allocations: 223.3 kB / 0.5037 GB, free: 2.219 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.585e-05/0.1478, allocations: 350.5 kB / 0.5041 GB, free: 1.871 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.148, allocations: 125.4 kB / 0.5042 GB, free: 1.746 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.1484, allocations: 0.7569 MB / 0.5049 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.1489, allocations: 0.652 MB / 0.5055 GB, free: 0 / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1489, allocations: 1.062 kB / 0.5056 GB, free: 0 / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0006669/0.1496, allocations: 0.6679 MB / 0.5062 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1496, allocations: 12 kB / 0.5062 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1496, allocations: 8 kB / 0.5062 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.1496, allocations: 16 kB / 0.5062 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005164/0.1501, allocations: 300.5 kB / 0.5065 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.1501, allocations: 19.94 kB / 0.5065 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004324/0.1506, allocations: 117.9 kB / 0.5067 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/0.1506, allocations: 39.98 kB / 0.5067 GB, free: 14.84 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.0002195/0.1508, allocations: 180.3 kB / 0.5069 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.1509, allocations: 123.8 kB / 0.507 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/0.1514, allocations: 434.9 kB / 0.5074 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.1514, allocations: 18.19 kB / 0.5074 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.1514, allocations: 0 / 0.5074 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000247/0.1517, allocations: 381.3 kB / 0.5078 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.153, allocations: 1.309 MB / 0.5091 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.153, allocations: 1.5 kB / 0.5091 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/0.1534, allocations: 176.3 kB / 0.5092 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.1536, allocations: 208.1 kB / 0.5094 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1536, allocations: 4 kB / 0.5094 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.1537, allocations: 15.98 kB / 0.5094 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1537, allocations: 8 kB / 0.5095 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1537, allocations: 8.469 kB / 0.5095 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/0.1542, allocations: 0.6494 MB / 0.5101 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-05/0.1543, allocations: 15.94 kB / 0.5101 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.1546, allocations: 39.91 kB / 0.5101 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.1547, allocations: 56.34 kB / 0.5102 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.1547, allocations: 27.97 kB / 0.5102 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004431/0.1552, allocations: 0.6341 MB / 0.5108 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.1552, allocations: 0 / 0.5108 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008155/0.156, allocations: 0.5223 MB / 0.5114 GB, free: 9.914 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.0002717/0.1563, allocations: 177.7 kB / 0.5115 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004535/0.1567, allocations: 434.7 kB / 0.5119 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.072e-05/0.1567, allocations: 32.42 kB / 0.512 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.1569, allocations: 162.6 kB / 0.5121 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.1588, allocations: 1.107 MB / 0.5132 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009052/0.1678, allocations: 2.76 MB / 0.5159 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.1681, allocations: 324.1 kB / 0.5162 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008349/0.1689, allocations: 283.7 kB / 0.5165 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.17, allocations: 0.6263 MB / 0.5171 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of SimCode: time 1.653e-06/0.17, allocations: 0.625 kB / 0.5171 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of Templates: time 0.03859/0.2086, allocations: 35.06 MB / 0.5513 GB, free: 1.906 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.238472412340343]