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.0009879/0.0009879, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001675/0.001675, allocations: 181 kB / 23.36 MB, free: 1.133 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.9714/0.9714, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.7518/0.7518, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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.413e-06/1.413e-06, allocations: 0 / 480 MB, free: 6.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.106e-05, allocations: 5.922 kB / 480 MB, free: 6.859 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01469/0.01471, allocations: 21 MB / 0.4893 GB, free: 1.852 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.02839, allocations: 8.489 MB / 0.4976 GB, free: 9.441 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.03041, allocations: 155.8 kB / 0.4977 GB, free: 9.289 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.03145, allocations: 0.6707 MB / 0.4984 GB, free: 8.613 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003386/0.03484, allocations: 2.454 MB / 0.5008 GB, free: 6.168 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.03763, allocations: 1.973 MB / 0.5027 GB, free: 4.207 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.005761/0.04339, allocations: 6.668 MB / 0.5092 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.0452, allocations: 1.673 MB / 0.5108 GB, free: 11.8 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/0.04869, allocations: 3.174 MB / 0.5139 GB, free: 8.645 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.05001, allocations: 1.51 MB / 0.5154 GB, free: 7.137 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.0502, allocations: 192 kB / 0.5156 GB, free: 6.949 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006373/0.05083, allocations: 404.2 kB / 0.516 GB, free: 6.555 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003472/0.05118, allocations: 0.5835 MB / 0.5165 GB, free: 5.969 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008619/0.05204, allocations: 0.8427 MB / 0.5174 GB, free: 5.125 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.05364, allocations: 1.915 MB / 0.5192 GB, free: 3.203 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.05364, allocations: 0.5 kB / 0.5192 GB, free: 3.203 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.05364, allocations: 1.031 kB / 0.5192 GB, free: 3.203 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.05366, allocations: 0 / 0.5192 GB, free: 3.203 MB / 490.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.00212/0.05578, allocations: 2.464 MB / 0.5216 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.05581, allocations: 8.031 kB / 0.5216 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004072/0.05622, allocations: 320.4 kB / 0.522 GB, free: 388 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.05768, allocations: 1.357 MB / 0.5233 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/0.05773, allocations: 107.4 kB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.05786, allocations: 148 kB / 0.5235 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.05889, allocations: 1.315 MB / 0.5248 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.05892, allocations: 3.984 kB / 0.5248 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.996e-05/0.05899, allocations: 60 kB / 0.5249 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/0.05903, allocations: 40 kB / 0.5249 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/0.05949, allocations: 386.4 kB / 0.5253 GB, free: 12.76 MB / 0.4948 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.003617/0.0631, allocations: 4.207 MB / 0.5294 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.06338, allocations: 260.8 kB / 0.5296 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.06349, allocations: 117.1 kB / 0.5297 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.629e-05/0.06359, allocations: 33.11 kB / 0.5298 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.06361, allocations: 46.94 kB / 0.5298 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=59): time 1.833e-06/0.06362, allocations: 0.6875 kB / 0.5298 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59): time 0.0004428/0.06406, allocations: 357.9 kB / 0.5302 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.06409, allocations: 60.44 kB / 0.5302 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008144/0.0649, allocations: 1.27 MB / 0.5315 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.06494, allocations: 41.7 kB / 0.5315 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.06526, allocations: 0.7276 MB / 0.5322 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.06537, allocations: 226.1 kB / 0.5324 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.06554, allocations: 227.7 kB / 0.5326 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.132e-05/0.06562, allocations: 353.8 kB / 0.533 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.0658, allocations: 125.4 kB / 0.5331 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.06621, allocations: 0.7563 MB / 0.5338 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007642/0.06697, allocations: 0.6454 MB / 0.5345 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.06697, allocations: 4 kB / 0.5345 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0006626/0.06764, allocations: 0.6708 MB / 0.5351 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.06765, allocations: 12 kB / 0.5351 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.06766, allocations: 8 kB / 0.5351 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.06768, allocations: 16 kB / 0.5352 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/0.06813, allocations: 256.7 kB / 0.5354 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.06814, allocations: 19.94 kB / 0.5354 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.06853, allocations: 121.9 kB / 0.5355 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.06858, allocations: 40 kB / 0.5356 GB, free: 1.684 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.0002148/0.06879, allocations: 182.4 kB / 0.5358 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.06891, allocations: 123.8 kB / 0.5359 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004438/0.06935, allocations: 442.4 kB / 0.5363 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.06936, allocations: 4 kB / 0.5363 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.06936, allocations: 4 kB / 0.5363 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002439/0.0696, allocations: 390.8 kB / 0.5367 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.07091, allocations: 1.297 MB / 0.5379 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.07092, allocations: 3.984 kB / 0.5379 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.07121, allocations: 147.8 kB / 0.5381 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.07122, allocations: 8.531 kB / 0.5381 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.07124, allocations: 17.69 kB / 0.5381 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.07124, allocations: 7.984 kB / 0.5381 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.07124, allocations: 0 / 0.5381 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.07178, allocations: 0.657 MB / 0.5388 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.07203, allocations: 206.7 kB / 0.539 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.273e-05/0.07212, allocations: 12 kB / 0.539 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.07245, allocations: 48.88 kB / 0.539 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.07252, allocations: 56.3 kB / 0.5391 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.07255, allocations: 30.69 kB / 0.5391 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004508/0.073, allocations: 0.6371 MB / 0.5397 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.073, allocations: 0 / 0.5397 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006749/0.07368, allocations: 0.5262 MB / 0.5402 GB, free: 12.78 MB / 0.5105 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.0002531/0.07393, allocations: 167.5 kB / 0.5404 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004374/0.07437, allocations: 439.8 kB / 0.5408 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.008e-05/0.07439, allocations: 21.66 kB / 0.5408 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002632/0.07465, allocations: 161.9 kB / 0.541 GB, free: 12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.0764, allocations: 0.9383 MB / 0.5419 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.07898, allocations: 2.712 MB / 0.5446 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.07919, allocations: 324.1 kB / 0.5449 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005649/0.07975, allocations: 284.3 kB / 0.5451 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.08079, allocations: 0.6424 MB / 0.5458 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of SimCode: time 7.31e-07/0.08079, allocations: 0 / 0.5458 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of Templates: time 0.03571/0.1165, allocations: 33.33 MB / 0.5783 GB, free: 6.727 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.368648279923946]