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.0009717/0.0009717, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009706/0.0009706, allocations: 173 kB / 23.03 MB, free: 1.543 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 0.963/0.963, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.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.7833/0.7833, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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 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 1.853e-06/1.853e-06, allocations: 0 / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.707e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01652/0.01655, allocations: 21.26 MB / 0.5411 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01355/0.03009, allocations: 8.302 MB / 0.5492 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003218/0.03331, allocations: 154.7 kB / 0.5494 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.03524, allocations: 0.6746 MB / 0.55 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00567/0.04091, allocations: 2.446 MB / 0.5524 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003566/0.04448, allocations: 1.973 MB / 0.5543 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.008218/0.0527, allocations: 6.677 MB / 0.5608 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002604/0.0553, allocations: 1.664 MB / 0.5625 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006034/0.06133, allocations: 3.176 MB / 0.5656 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.0638, allocations: 1.591 MB / 0.5671 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0005148/0.06432, allocations: 205.3 kB / 0.5673 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.06552, allocations: 391.5 kB / 0.5677 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0004291/0.06595, allocations: 0.5835 MB / 0.5683 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.06714, allocations: 0.8379 MB / 0.5691 GB, free: 296 kB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002692/0.06983, allocations: 1.92 MB / 0.571 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.06984, allocations: 4.656 kB / 0.571 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.357e-06/0.06984, allocations: 3.984 kB / 0.571 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.188e-05/0.06992, allocations: 3.5 kB / 0.571 GB, free: 14.36 MB / 0.5417 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.003237/0.07316, allocations: 2.624 MB / 0.5735 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.0732, allocations: 8.031 kB / 0.5735 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006698/0.07387, allocations: 404.3 kB / 0.5739 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.07606, allocations: 1.796 MB / 0.5757 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.902e-05/0.07612, allocations: 107.5 kB / 0.5758 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.07626, allocations: 148 kB / 0.5759 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.07774, allocations: 1.407 MB / 0.5773 GB, free: 7.609 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.07778, allocations: 11.89 kB / 0.5773 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.513e-05/0.07785, allocations: 56 kB / 0.5774 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.285e-05/0.0779, allocations: 43.98 kB / 0.5774 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008039/0.07871, allocations: 492.8 kB / 0.5779 GB, free: 7.012 MB / 0.5417 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.005257/0.08396, allocations: 5.712 MB / 0.5835 GB, free: 1.145 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.08441, allocations: 249.6 kB / 0.5837 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.0846, allocations: 145.1 kB / 0.5838 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.08472, allocations: 37.92 kB / 0.5839 GB, free: 0.7109 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.08476, allocations: 41.89 kB / 0.5839 GB, free: 0.6602 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=59): time 2.965e-06/0.08476, allocations: 0 / 0.5839 GB, free: 0.6602 MB / 0.5417 GB Notification: Performance of matching and sorting (n=59): time 0.0008416/0.0856, allocations: 0.5395 MB / 0.5844 GB, free: 120 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.08563, allocations: 60.47 kB / 0.5845 GB, free: 48 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.08707, allocations: 1.358 MB / 0.5858 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.624e-05/0.08712, allocations: 42.27 kB / 0.5859 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005412/0.08767, allocations: 1.023 MB / 0.5869 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.08782, allocations: 226.2 kB / 0.5871 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.08801, allocations: 244.3 kB / 0.5873 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.08815, allocations: 0.5174 MB / 0.5878 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.08836, allocations: 130.5 kB / 0.5879 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/0.08885, allocations: 0.9014 MB / 0.5888 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006729/0.08952, allocations: 0.773 MB / 0.5896 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.08953, allocations: 0 / 0.5896 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001175/0.0907, allocations: 0.8672 MB / 0.5904 GB, free: 9.461 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.09073, allocations: 12 kB / 0.5904 GB, free: 9.449 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.09075, allocations: 8 kB / 0.5904 GB, free: 9.441 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/0.09077, allocations: 20.73 kB / 0.5905 GB, free: 9.422 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/0.09133, allocations: 259.6 kB / 0.5907 GB, free: 9.168 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.09135, allocations: 23.92 kB / 0.5907 GB, free: 9.145 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006705/0.09202, allocations: 119.2 kB / 0.5908 GB, free: 9.027 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.387e-05/0.09209, allocations: 55.97 kB / 0.5909 GB, free: 8.973 MB / 0.5573 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.0003391/0.09242, allocations: 228.1 kB / 0.5911 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.09262, allocations: 198.8 kB / 0.5913 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006899/0.09331, allocations: 0.5365 MB / 0.5918 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.09332, allocations: 8 kB / 0.5918 GB, free: 8.008 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.09333, allocations: 0 / 0.5918 GB, free: 8.008 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000701/0.09403, allocations: 493.2 kB / 0.5923 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.09613, allocations: 1.795 MB / 0.5941 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.09614, allocations: 8.062 kB / 0.5941 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.09649, allocations: 151.8 kB / 0.5942 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.0965, allocations: 4 kB / 0.5942 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.09653, allocations: 19.98 kB / 0.5942 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.09653, allocations: 4 kB / 0.5942 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.09654, allocations: 7.938 kB / 0.5942 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008628/0.0974, allocations: 0.854 MB / 0.5951 GB, free: 4.512 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/0.09777, allocations: 262.6 kB / 0.5953 GB, free: 4.254 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.09788, allocations: 16 kB / 0.5953 GB, free: 4.238 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.09826, allocations: 47.91 kB / 0.5954 GB, free: 4.191 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/0.09835, allocations: 56.28 kB / 0.5954 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/0.0984, allocations: 35.98 kB / 0.5955 GB, free: 4.102 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007387/0.09914, allocations: 0.8058 MB / 0.5963 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.09914, allocations: 0 / 0.5963 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000998/0.1001, allocations: 0.5262 MB / 0.5968 GB, free: 2.777 MB / 0.5573 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.0003425/0.1005, allocations: 183 kB / 0.5969 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006714/0.1012, allocations: 494.2 kB / 0.5974 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1012, allocations: 4.938 kB / 0.5974 GB, free: 2.102 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.1014, allocations: 195.8 kB / 0.5976 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/0.1035, allocations: 0.9431 MB / 0.5985 GB, free: 1.02 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.1071, allocations: 2.801 MB / 0.6013 GB, free: 14.12 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.1073, allocations: 344.1 kB / 0.6016 GB, free: 13.77 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007508/0.108, allocations: 321.3 kB / 0.6019 GB, free: 13.46 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.1082, allocations: 132.5 kB / 0.602 GB, free: 13.33 MB / 0.573 GB Notification: Performance of SimCode: time 1.673e-06/0.1082, allocations: 0 / 0.602 GB, free: 13.33 MB / 0.573 GB Notification: Performance of Templates: time 0.03916/0.1474, allocations: 33.35 MB / 0.6346 GB, free: 12.93 MB / 0.6042 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.325426193885505]