Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001034/0.001034, 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.001369/0.001369, allocations: 169 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.938/0.938, 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 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.7565/0.7565, allocations: 154.9 MB / 414.8 MB, free: 420 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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.5207 GB, free: 1.82 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.736e-05, allocations: 6.281 kB / 0.5207 GB, free: 1.816 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.00998/0.009997, allocations: 13.26 MB / 0.5336 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006864/0.01686, allocations: 5.405 MB / 0.5389 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007236/0.01758, allocations: 79.31 kB / 0.539 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006313/0.01822, allocations: 366.5 kB / 0.5393 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.01998, allocations: 1.342 MB / 0.5407 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.0214, allocations: 1.14 MB / 0.5418 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002481/0.02388, allocations: 3.387 MB / 0.5451 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008933/0.02477, allocations: 0.8366 MB / 0.5459 GB, free: 8 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.02655, allocations: 1.619 MB / 0.5475 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006958/0.02724, allocations: 0.8046 MB / 0.5483 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.02735, allocations: 99.98 kB / 0.5484 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004294/0.02778, allocations: 295.4 kB / 0.5486 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.02796, allocations: 302.7 kB / 0.5489 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003456/0.0283, allocations: 431 kB / 0.5493 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0009762/0.02928, allocations: 1.048 MB / 0.5504 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.02928, allocations: 0 / 0.5504 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.332e-06/0.02928, allocations: 0 / 0.5504 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.02929, allocations: 3.188 kB / 0.5504 GB, free: 3.438 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001445/0.03074, allocations: 1.491 MB / 0.5518 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.03077, allocations: 8.031 kB / 0.5518 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002705/0.03104, allocations: 208 kB / 0.552 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009075/0.03195, allocations: 0.963 MB / 0.553 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.757e-05/0.03203, allocations: 55.12 kB / 0.553 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.03217, allocations: 79.94 kB / 0.5531 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008956/0.03306, allocations: 0.737 MB / 0.5538 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.03308, allocations: 13.84 kB / 0.5538 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.606e-05/0.03313, allocations: 32 kB / 0.5539 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/0.03317, allocations: 16 kB / 0.5539 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004174/0.03358, allocations: 252.7 kB / 0.5541 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00286/0.03645, allocations: 2.927 MB / 0.557 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.03677, allocations: 150.8 kB / 0.5571 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.03688, allocations: 79.58 kB / 0.5572 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.03702, allocations: 29.89 kB / 0.5572 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.03705, allocations: 45.39 kB / 0.5573 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 3.386e-06/0.03705, allocations: 2.188 kB / 0.5573 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.0005061/0.03756, allocations: 297 kB / 0.5575 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.03759, allocations: 55.41 kB / 0.5576 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006145/0.0382, allocations: 0.7492 MB / 0.5583 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.03823, allocations: 33.7 kB / 0.5584 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.03852, allocations: 0.5573 MB / 0.5589 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.68e-05/0.0386, allocations: 119.9 kB / 0.559 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.03871, allocations: 123.9 kB / 0.5591 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.03885, allocations: 0.4965 MB / 0.5596 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.03895, allocations: 68.05 kB / 0.5597 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.03923, allocations: 472.9 kB / 0.5601 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.03958, allocations: 391.3 kB / 0.5605 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.03958, allocations: 0 / 0.5605 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006111/0.04019, allocations: 457.8 kB / 0.561 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.04022, allocations: 8 kB / 0.561 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.04023, allocations: 7.938 kB / 0.561 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.04025, allocations: 9.344 kB / 0.561 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.04052, allocations: 115.8 kB / 0.5611 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.04053, allocations: 11.98 kB / 0.5611 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.04084, allocations: 56.38 kB / 0.5612 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.04087, allocations: 29.08 kB / 0.5612 GB, free: 7.809 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0001906/0.04107, allocations: 192.4 kB / 0.5614 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.602e-05/0.04116, allocations: 100.2 kB / 0.5615 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.04157, allocations: 302.4 kB / 0.5617 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.04158, allocations: 4 kB / 0.5618 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.04158, allocations: 0 / 0.5618 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000229/0.04181, allocations: 287.8 kB / 0.562 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.04403, allocations: 1.041 MB / 0.563 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.04404, allocations: 0 / 0.563 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.04434, allocations: 76.77 kB / 0.5631 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.04435, allocations: 0.7812 kB / 0.5631 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.04438, allocations: 8 kB / 0.5631 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.04438, allocations: 4.594 kB / 0.5631 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.04439, allocations: 0 / 0.5631 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007637/0.04515, allocations: 0.5499 MB / 0.5637 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.04545, allocations: 139.3 kB / 0.5638 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-05/0.04555, allocations: 4 kB / 0.5638 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.04584, allocations: 22.33 kB / 0.5638 GB, free: 4.969 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.0459, allocations: 31.89 kB / 0.5639 GB, free: 4.938 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.04592, allocations: 19.98 kB / 0.5639 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003949/0.04632, allocations: 478.8 kB / 0.5643 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/0.04632, allocations: 0 / 0.5643 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006189/0.04694, allocations: 288.1 kB / 0.5646 GB, free: 4.172 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0003437/0.04728, allocations: 184 kB / 0.5648 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004035/0.04769, allocations: 238 kB / 0.565 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.04769, allocations: 3.938 kB / 0.565 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.04783, allocations: 113.6 kB / 0.5651 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.04904, allocations: 0.4952 MB / 0.5656 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.05106, allocations: 1.468 MB / 0.567 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.05119, allocations: 187.2 kB / 0.5672 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004371/0.05162, allocations: 160 kB / 0.5674 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.05174, allocations: 76.48 kB / 0.5674 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of SimCode: time 1.793e-06/0.05174, allocations: 0 / 0.5674 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of Templates: time 0.02038/0.07212, allocations: 17.57 MB / 0.5846 GB, free: 244 kB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.061388056725264]