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.001091/0.001091, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001019/0.001019, allocations: 177 kB / 23.36 MB, free: 1.129 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.021/1.021, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7761/0.7761, allocations: 154.9 MB / 415.1 MB, free: 236 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.563e-06/1.563e-06, allocations: 0 / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.448e-05, allocations: 2.312 kB / 480.4 MB, free: 6.473 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01698/0.01701, allocations: 21.02 MB / 0.4897 GB, free: 1.449 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01325/0.03025, allocations: 8.494 MB / 0.498 GB, free: 9.031 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002499/0.03275, allocations: 155.6 kB / 0.4981 GB, free: 8.879 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.034, allocations: 0.6669 MB / 0.4988 GB, free: 8.207 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004442/0.03844, allocations: 2.443 MB / 0.5012 GB, free: 5.77 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003381/0.04182, allocations: 1.963 MB / 0.5031 GB, free: 3.82 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.006673/0.0485, allocations: 6.676 MB / 0.5096 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002831/0.05133, allocations: 1.711 MB / 0.5113 GB, free: 11.4 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005018/0.05635, allocations: 3.136 MB / 0.5143 GB, free: 8.301 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.05866, allocations: 1.502 MB / 0.5158 GB, free: 6.797 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004689/0.05912, allocations: 196 kB / 0.516 GB, free: 6.605 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.06015, allocations: 411.3 kB / 0.5164 GB, free: 6.203 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004361/0.06059, allocations: 0.5835 MB / 0.517 GB, free: 5.617 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.06167, allocations: 0.8422 MB / 0.5178 GB, free: 4.773 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002528/0.0642, allocations: 1.907 MB / 0.5196 GB, free: 2.859 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.06421, allocations: 1.031 kB / 0.5196 GB, free: 2.859 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.06421, allocations: 3.984 kB / 0.5197 GB, free: 2.855 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.202e-05/0.06427, allocations: 1.188 kB / 0.5197 GB, free: 2.855 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.002781/0.06705, allocations: 2.468 MB / 0.5221 GB, free: 356 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.06708, allocations: 8.031 kB / 0.5221 GB, free: 348 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005121/0.06759, allocations: 324.3 kB / 0.5224 GB, free: 24 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.0694, allocations: 1.351 MB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.762e-05/0.06946, allocations: 106.7 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.06959, allocations: 148 kB / 0.5239 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.07069, allocations: 1.312 MB / 0.5252 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.07072, allocations: 3.938 kB / 0.5252 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.974e-05/0.07079, allocations: 56 kB / 0.5253 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/0.07083, allocations: 47.98 kB / 0.5253 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005118/0.07134, allocations: 381.2 kB / 0.5257 GB, free: 12.41 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.004003/0.07535, allocations: 4.221 MB / 0.5298 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.07567, allocations: 256.2 kB / 0.5301 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.07579, allocations: 123.4 kB / 0.5302 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.0759, allocations: 32.48 kB / 0.5302 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.07593, allocations: 43 kB / 0.5302 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=59): time 2.445e-06/0.07593, allocations: 0 / 0.5302 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59): time 0.0004961/0.07643, allocations: 361.9 kB / 0.5306 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.07645, allocations: 60.97 kB / 0.5307 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000885/0.07734, allocations: 1.269 MB / 0.5319 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.07738, allocations: 41.7 kB / 0.5319 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/0.07771, allocations: 0.7254 MB / 0.5326 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.07784, allocations: 230.1 kB / 0.5329 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.07802, allocations: 222.7 kB / 0.5331 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.979e-05/0.07811, allocations: 349.8 kB / 0.5334 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.0783, allocations: 123 kB / 0.5335 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006682/0.07897, allocations: 0.7632 MB / 0.5343 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.07953, allocations: 0.641 MB / 0.5349 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.07953, allocations: 4 kB / 0.5349 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0007432/0.08028, allocations: 0.671 MB / 0.5356 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.0803, allocations: 10.81 kB / 0.5356 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.08031, allocations: 12 kB / 0.5356 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.08033, allocations: 16 kB / 0.5356 GB, free: 1.758 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.08083, allocations: 272.8 kB / 0.5358 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.08084, allocations: 23.92 kB / 0.5359 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004771/0.08132, allocations: 120.7 kB / 0.536 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/0.08137, allocations: 39.98 kB / 0.536 GB, free: 1.312 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.0002522/0.08162, allocations: 179.3 kB / 0.5362 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.08175, allocations: 123.8 kB / 0.5363 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004902/0.08224, allocations: 436.4 kB / 0.5367 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.08224, allocations: 8 kB / 0.5367 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.08225, allocations: 5.438 kB / 0.5367 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002559/0.0825, allocations: 385.8 kB / 0.5371 GB, free: 152 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.08394, allocations: 1.303 MB / 0.5384 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.08394, allocations: 3.938 kB / 0.5384 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.08431, allocations: 164.2 kB / 0.5385 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.08432, allocations: 4 kB / 0.5385 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.08435, allocations: 20 kB / 0.5386 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.08435, allocations: 4 kB / 0.5386 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.08435, allocations: 8.688 kB / 0.5386 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005712/0.08492, allocations: 0.6499 MB / 0.5392 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.08519, allocations: 203.9 kB / 0.5394 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.475e-05/0.08529, allocations: 20 kB / 0.5394 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.08563, allocations: 47.12 kB / 0.5395 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/0.0857, allocations: 56.34 kB / 0.5395 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.08574, allocations: 23.97 kB / 0.5395 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004848/0.08623, allocations: 0.6371 MB / 0.5402 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.08623, allocations: 0 / 0.5402 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001059/0.08729, allocations: 0.5184 MB / 0.5407 GB, free: 12.4 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.0002845/0.08757, allocations: 192.1 kB / 0.5409 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005005/0.08807, allocations: 440.1 kB / 0.5413 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.183e-05/0.08809, allocations: 23.75 kB / 0.5413 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.08826, allocations: 162.7 kB / 0.5415 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.09011, allocations: 0.9217 MB / 0.5424 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.09309, allocations: 2.709 MB / 0.545 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.09331, allocations: 332.1 kB / 0.5453 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006856/0.094, allocations: 281.6 kB / 0.5456 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.09512, allocations: 0.6335 MB / 0.5462 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/0.09512, allocations: 0 / 0.5462 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of Templates: time 0.03809/0.1332, allocations: 33.35 MB / 0.5788 GB, free: 6.293 MB / 0.5417 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.375694211106747]