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.001815/0.001815, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002336/0.002336, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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 1.474/1.474, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.209/1.209, allocations: 154.6 MB / 414.2 MB, free: 0.6328 MB / 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. " [Timeout remaining time 178] 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.013e-06/2.013e-06, allocations: 0.875 kB / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.27e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09477/0.0948, allocations: 70.52 MB / 0.5885 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03186/0.1267, allocations: 17.64 MB / 0.6057 GB, free: 10.3 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003358/0.13, allocations: 154.7 kB / 0.6059 GB, free: 10.15 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.003793/0.1338, allocations: 1.253 MB / 0.6071 GB, free: 8.891 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.1452, allocations: 3.986 MB / 0.611 GB, free: 4.883 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006249/0.1515, allocations: 2.252 MB / 0.6132 GB, free: 2.625 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01165/0.1631, allocations: 6.867 MB / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003852/0.167, allocations: 1.65 MB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01069/0.1776, allocations: 3.613 MB / 0.625 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003863/0.1815, allocations: 1.562 MB / 0.6266 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0005598/0.1821, allocations: 199.9 kB / 0.6268 GB, free: 4.699 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004243/0.1863, allocations: 1.356 MB / 0.6281 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0009912/0.1873, allocations: 0.5795 MB / 0.6286 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001738/0.189, allocations: 0.8573 MB / 0.6295 GB, free: 1.898 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.006777/0.1958, allocations: 3.797 MB / 0.6332 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.1958, allocations: 4 kB / 0.6332 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1958, allocations: 0 / 0.6332 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.721e-05/0.1959, allocations: 4 kB / 0.6332 GB, free: 14.08 MB / 0.6042 GB 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.005312/0.2012, allocations: 2.699 MB / 0.6358 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2012, allocations: 8.031 kB / 0.6358 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.2023, allocations: 418.9 kB / 0.6362 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004146/0.2064, allocations: 2.123 MB / 0.6383 GB, free: 8.746 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.2066, allocations: 106.7 kB / 0.6384 GB, free: 8.641 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003811/0.2069, allocations: 148 kB / 0.6386 GB, free: 8.496 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003365/0.2103, allocations: 1.829 MB / 0.6403 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/0.2104, allocations: 0 / 0.6403 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.2105, allocations: 60 kB / 0.6404 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.736e-05/0.2106, allocations: 36 kB / 0.6404 GB, free: 6.422 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.2131, allocations: 1.126 MB / 0.6415 GB, free: 5.289 MB / 0.6042 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.009241/0.2224, allocations: 5.167 MB / 0.6466 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.2235, allocations: 448.9 kB / 0.647 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007009/0.2242, allocations: 308.8 kB / 0.6473 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004224/0.2246, allocations: 116.4 kB / 0.6474 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/0.2247, allocations: 43.06 kB / 0.6475 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 2.424e-06/0.2247, allocations: 0 / 0.6475 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.002712/0.2274, allocations: 0.9644 MB / 0.6484 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.2274, allocations: 59.91 kB / 0.6485 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002768/0.2302, allocations: 1.543 MB / 0.65 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.2303, allocations: 49.7 kB / 0.65 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00102/0.2313, allocations: 0.9591 MB / 0.6509 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/0.2316, allocations: 226.1 kB / 0.6512 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/0.232, allocations: 222.8 kB / 0.6514 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002305/0.2322, allocations: 345.9 kB / 0.6517 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007758/0.233, allocations: 330.3 kB / 0.652 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.2345, allocations: 0.9702 MB / 0.653 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.2364, allocations: 1.016 MB / 0.654 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.2364, allocations: 4 kB / 0.654 GB, free: 8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002763/0.2392, allocations: 1.254 MB / 0.6552 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.2392, allocations: 16.16 kB / 0.6552 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.2392, allocations: 8 kB / 0.6552 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.513e-05/0.2393, allocations: 19.98 kB / 0.6552 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.2404, allocations: 283.6 kB / 0.6555 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.225e-05/0.2404, allocations: 27.86 kB / 0.6555 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.2415, allocations: 143.2 kB / 0.6557 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003522/0.2419, allocations: 51.98 kB / 0.6557 GB, free: 6.203 MB / 0.6198 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.0008709/0.2428, allocations: 441.4 kB / 0.6561 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003997/0.2432, allocations: 198.8 kB / 0.6563 GB, free: 5.566 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.2452, allocations: 0.8527 MB / 0.6572 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.2452, allocations: 8 kB / 0.6572 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-06/0.2452, allocations: 4 kB / 0.6572 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001598/0.2468, allocations: 0.8056 MB / 0.658 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00447/0.2513, allocations: 2.073 MB / 0.66 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.2513, allocations: 0 / 0.66 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008709/0.2522, allocations: 188 kB / 0.6602 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.2522, allocations: 4 kB / 0.6602 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/0.2522, allocations: 19.98 kB / 0.6602 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.2522, allocations: 4 kB / 0.6602 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.2522, allocations: 7.938 kB / 0.6602 GB, free: 1.504 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/0.2551, allocations: 1.344 MB / 0.6615 GB, free: 120 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006756/0.2558, allocations: 270.9 kB / 0.6618 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.256, allocations: 12 kB / 0.6618 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008801/0.2569, allocations: 59.92 kB / 0.6618 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.257, allocations: 56.11 kB / 0.6619 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.817e-05/0.2571, allocations: 35.91 kB / 0.6619 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002034/0.2591, allocations: 1.025 MB / 0.6629 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.2591, allocations: 0 / 0.6629 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002296/0.2614, allocations: 0.6935 MB / 0.6636 GB, free: 13.98 MB / 0.6355 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.00127/0.2627, allocations: 0.6007 MB / 0.6642 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001931/0.2646, allocations: 0.7812 MB / 0.6649 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2646, allocations: 0 / 0.6649 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007969/0.2654, allocations: 343.2 kB / 0.6653 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004019/0.2694, allocations: 0.9417 MB / 0.6662 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005419/0.2749, allocations: 3.024 MB / 0.6691 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.2762, allocations: 0.8346 MB / 0.67 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001251/0.2774, allocations: 331 kB / 0.6703 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/0.2777, allocations: 140.5 kB / 0.6704 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of SimCode: time 9.31e-07/0.2777, allocations: 0 / 0.6704 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of Templates: time 0.2564/0.5341, allocations: 36.32 MB / 0.7059 GB, free: 187.7 MB / 0.6355 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.283568314975128]