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.0009837/0.0009837, allocations: 93.06 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.000988/0.000988, allocations: 165 kB / 23.02 MB, free: 1.547 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.9369/0.9369, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.7759/0.7759, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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.944e-06/1.944e-06, allocations: 0.5469 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.177e-05/3.371e-05, allocations: 3.859 kB / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.02096/0.02099, allocations: 21.24 MB / 0.5411 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01291/0.0339, allocations: 8.315 MB / 0.5492 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00344/0.03734, allocations: 154.6 kB / 0.5494 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00235/0.03969, allocations: 0.6669 MB / 0.55 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005458/0.04515, allocations: 2.438 MB / 0.5524 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003607/0.04876, allocations: 1.967 MB / 0.5543 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.007802/0.05656, allocations: 6.68 MB / 0.5608 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002557/0.05912, allocations: 1.654 MB / 0.5624 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006846/0.06596, allocations: 2.962 MB / 0.5653 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003565/0.06953, allocations: 1.594 MB / 0.5669 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0007337/0.07026, allocations: 200 kB / 0.5671 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002163/0.07242, allocations: 415.5 kB / 0.5675 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0007542/0.07318, allocations: 0.5952 MB / 0.5681 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001983/0.07516, allocations: 0.8573 MB / 0.5689 GB, free: 484 kB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.004498/0.07966, allocations: 1.943 MB / 0.5708 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.07967, allocations: 3.984 kB / 0.5708 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.964e-06/0.07967, allocations: 1.906 kB / 0.5708 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001069/0.07978, allocations: 0 / 0.5708 GB, free: 14.52 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.004444/0.08422, allocations: 2.664 MB / 0.5734 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.08427, allocations: 12.03 kB / 0.5734 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009295/0.0852, allocations: 408.1 kB / 0.5738 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003334/0.08854, allocations: 1.994 MB / 0.5758 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.476e-05/0.08863, allocations: 102.7 kB / 0.5759 GB, free: 9.273 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/0.08887, allocations: 152 kB / 0.576 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.09115, allocations: 1.415 MB / 0.5774 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.09118, allocations: 3.938 kB / 0.5774 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.153e-05/0.09126, allocations: 67.92 kB / 0.5774 GB, free: 7.469 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.353e-05/0.09132, allocations: 40 kB / 0.5775 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000788/0.09211, allocations: 493.3 kB / 0.578 GB, free: 6.941 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.005373/0.09749, allocations: 5.719 MB / 0.5835 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.0979, allocations: 249.6 kB / 0.5838 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.09807, allocations: 141.1 kB / 0.5839 GB, free: 0.6719 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.09821, allocations: 43.52 kB / 0.584 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.09824, allocations: 45.92 kB / 0.584 GB, free: 0.5781 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=59): time 2.585e-06/0.09824, allocations: 0 / 0.584 GB, free: 0.5781 MB / 0.5417 GB Notification: Performance of matching and sorting (n=59): time 0.0008216/0.09906, allocations: 0.5351 MB / 0.5845 GB, free: 40 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.09911, allocations: 55.91 kB / 0.5846 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.1002, allocations: 1.386 MB / 0.5859 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.1003, allocations: 37.7 kB / 0.586 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005026/0.1008, allocations: 1.018 MB / 0.587 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.1009, allocations: 231.7 kB / 0.5872 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.1011, allocations: 232.5 kB / 0.5874 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1012, allocations: 0.516 MB / 0.5879 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.1014, allocations: 130.5 kB / 0.588 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/0.1019, allocations: 0.9057 MB / 0.5889 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006459/0.1026, allocations: 0.7697 MB / 0.5897 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.1026, allocations: 0 / 0.5897 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001246/0.1038, allocations: 0.8751 MB / 0.5905 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.1039, allocations: 11.94 kB / 0.5905 GB, free: 9.355 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1039, allocations: 8 kB / 0.5905 GB, free: 9.348 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.1039, allocations: 16 kB / 0.5906 GB, free: 9.332 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.1044, allocations: 264.2 kB / 0.5908 GB, free: 9.074 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.1044, allocations: 19.94 kB / 0.5908 GB, free: 9.055 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.1049, allocations: 123.2 kB / 0.5909 GB, free: 8.934 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/0.105, allocations: 48 kB / 0.591 GB, free: 8.887 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.0002849/0.1053, allocations: 228.1 kB / 0.5912 GB, free: 8.652 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.1054, allocations: 198.8 kB / 0.5914 GB, free: 8.457 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006556/0.1061, allocations: 0.5346 MB / 0.5919 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/0.1061, allocations: 8 kB / 0.5919 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1061, allocations: 0 / 0.5919 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004195/0.1065, allocations: 493.2 kB / 0.5924 GB, free: 7.395 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/0.1085, allocations: 1.798 MB / 0.5942 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1085, allocations: 4.25 kB / 0.5942 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/0.1088, allocations: 151.8 kB / 0.5943 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.1088, allocations: 8 kB / 0.5943 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.1088, allocations: 12 kB / 0.5943 GB, free: 5.352 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.1088, allocations: 7.938 kB / 0.5943 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.1088, allocations: 11.94 kB / 0.5943 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008274/0.1097, allocations: 0.854 MB / 0.5952 GB, free: 4.422 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/0.11, allocations: 274.6 kB / 0.5954 GB, free: 4.152 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.82e-05/0.1101, allocations: 16 kB / 0.5955 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.1105, allocations: 35.97 kB / 0.5955 GB, free: 4.102 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.1106, allocations: 52.34 kB / 0.5955 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.1106, allocations: 39.97 kB / 0.5956 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007606/0.1114, allocations: 0.8175 MB / 0.5964 GB, free: 3.203 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1114, allocations: 4 kB / 0.5964 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009536/0.1123, allocations: 0.5223 MB / 0.5969 GB, free: 2.676 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.0003303/0.1127, allocations: 210.7 kB / 0.5971 GB, free: 2.465 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009222/0.1136, allocations: 491.1 kB / 0.5976 GB, free: 1.984 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1136, allocations: 4 kB / 0.5976 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.1138, allocations: 199.8 kB / 0.5977 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.116, allocations: 0.9435 MB / 0.5987 GB, free: 0.8906 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.1195, allocations: 2.798 MB / 0.6014 GB, free: 14 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.1197, allocations: 344.1 kB / 0.6017 GB, free: 13.64 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007803/0.1205, allocations: 314 kB / 0.602 GB, free: 13.35 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.1207, allocations: 136.4 kB / 0.6022 GB, free: 13.21 MB / 0.573 GB Notification: Performance of SimCode: time 1.192e-06/0.1207, allocations: 4 kB / 0.6022 GB, free: 13.21 MB / 0.573 GB Notification: Performance of Templates: time 0.03754/0.1582, allocations: 30.85 MB / 0.6323 GB, free: 15.12 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.355162905994803]