Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.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.001329/0.001329, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001052/0.001052, allocations: 165 kB / 24.05 MB, free: 452 kB / 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.958/0.958, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.7768/0.7768, allocations: 154.6 MB / 415.6 MB, free: 0.5156 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.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.5215 GB, free: 1.891 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.835e-05, allocations: 5.469 kB / 0.5215 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.01037/0.01038, allocations: 12.7 MB / 0.5339 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007868/0.01825, allocations: 5.999 MB / 0.5398 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008591/0.01911, allocations: 75.97 kB / 0.5399 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006743/0.01979, allocations: 345.2 kB / 0.5402 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.02147, allocations: 1.101 MB / 0.5413 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.02326, allocations: 1.208 MB / 0.5424 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002041/0.0253, allocations: 2.677 MB / 0.545 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008606/0.02616, allocations: 0.8753 MB / 0.5459 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.02762, allocations: 1.35 MB / 0.5472 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007241/0.02834, allocations: 0.6931 MB / 0.5479 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.02847, allocations: 108 kB / 0.548 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006101/0.02908, allocations: 415.3 kB / 0.5484 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.02927, allocations: 286.8 kB / 0.5487 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003252/0.0296, allocations: 424.2 kB / 0.5491 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.03069, allocations: 1.137 MB / 0.5502 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.0307, allocations: 3.938 kB / 0.5502 GB, free: 4.523 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.352e-06/0.0307, allocations: 0.9688 kB / 0.5502 GB, free: 4.523 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.03071, allocations: 0 / 0.5502 GB, free: 4.523 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.00156/0.03227, allocations: 1.541 MB / 0.5517 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.0323, allocations: 8.031 kB / 0.5517 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000785/0.03309, allocations: 347.6 kB / 0.552 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008654/0.03395, allocations: 0.8401 MB / 0.5529 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.03399, allocations: 66.36 kB / 0.5529 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.77e-05/0.03408, allocations: 81.59 kB / 0.553 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008812/0.03496, allocations: 0.8665 MB / 0.5538 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.03498, allocations: 0 / 0.5538 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.03503, allocations: 32.97 kB / 0.5539 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.03505, allocations: 20 kB / 0.5539 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.03545, allocations: 303.5 kB / 0.5542 GB, free: 276 kB / 0.5105 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.002923/0.03837, allocations: 3.676 MB / 0.5578 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.03883, allocations: 299.2 kB / 0.5581 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.03896, allocations: 106.3 kB / 0.5582 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/0.03918, allocations: 76.92 kB / 0.5582 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003529/0.03954, allocations: 355.5 kB / 0.5586 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 1.543e-06/0.03954, allocations: 0 / 0.5586 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.0006431/0.04018, allocations: 437.5 kB / 0.559 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.04024, allocations: 107.7 kB / 0.5591 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004919/0.04073, allocations: 0.6864 MB / 0.5598 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.04077, allocations: 38.55 kB / 0.5598 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.04106, allocations: 0.5611 MB / 0.5603 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.04117, allocations: 166.6 kB / 0.5605 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.04132, allocations: 145 kB / 0.5606 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.04144, allocations: 0.5081 MB / 0.5611 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.04162, allocations: 120.8 kB / 0.5613 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.04196, allocations: 0.4974 MB / 0.5617 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.04242, allocations: 497.1 kB / 0.5622 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.04243, allocations: 0 / 0.5622 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0006772/0.0431, allocations: 0.5802 MB / 0.5628 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.04314, allocations: 37.7 kB / 0.5628 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.04315, allocations: 8 kB / 0.5628 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.04316, allocations: 8 kB / 0.5628 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000467/0.04363, allocations: 186.2 kB / 0.563 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.04363, allocations: 8 kB / 0.563 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.04393, allocations: 83.52 kB / 0.5631 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.04398, allocations: 38.52 kB / 0.5631 GB, free: 6.621 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (mDHW60C.count,$PRE.mDHW60C.count,mDHW60C.T_start,$PRE.mDHW60C.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * 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.0001921/0.04417, allocations: 204.2 kB / 0.5633 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.04428, allocations: 107.4 kB / 0.5634 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000746/0.04503, allocations: 0.5737 MB / 0.564 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.04503, allocations: 11.94 kB / 0.564 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.04504, allocations: 1.125 kB / 0.564 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.04504, allocations: 3.984 kB / 0.564 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.04632, allocations: 1.306 MB / 0.5653 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.04632, allocations: 0 / 0.5653 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.04668, allocations: 133.5 kB / 0.5654 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.04669, allocations: 4.719 kB / 0.5654 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.04672, allocations: 15.98 kB / 0.5654 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.04672, allocations: 8.438 kB / 0.5654 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.04672, allocations: 0 / 0.5654 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007063/0.04743, allocations: 0.8002 MB / 0.5662 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.04762, allocations: 168.1 kB / 0.5664 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.04769, allocations: 19.92 kB / 0.5664 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.04797, allocations: 46.42 kB / 0.5664 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.787e-05/0.04804, allocations: 48.64 kB / 0.5665 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.04808, allocations: 19.98 kB / 0.5665 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002749/0.04836, allocations: 422.8 kB / 0.5669 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.1e-08/0.04836, allocations: 0 / 0.5669 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000568/0.04893, allocations: 335.7 kB / 0.5672 GB, free: 2.324 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.001032/0.04996, allocations: 0.5327 MB / 0.5678 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000496/0.05045, allocations: 436.6 kB / 0.5682 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.05046, allocations: 0 / 0.5682 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.05066, allocations: 181.9 kB / 0.5683 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009256/0.05158, allocations: 397.1 kB / 0.5687 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.05472, allocations: 1.85 MB / 0.5705 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.05483, allocations: 183.5 kB / 0.5707 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00038/0.05521, allocations: 158.3 kB / 0.5709 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005523/0.05577, allocations: 377.8 kB / 0.5712 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of SimCode: time 5.01e-07/0.05577, allocations: 0 / 0.5712 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of Templates: time 0.01964/0.07541, allocations: 18.38 MB / 0.5892 GB, free: 12.38 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.sim & ./IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.119475107640028]