Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001031/0.001031, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001113/0.001113, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9483/0.9483, allocations: 177.1 MB / 203.7 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.7956/0.7956, allocations: 154.9 MB / 415.1 MB, free: 256 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.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0.7656 kB / 0.5211 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/3.009e-05, allocations: 10.16 kB / 0.5211 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.01705/0.01708, allocations: 12.7 MB / 0.5335 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01192/0.02899, allocations: 5.99 MB / 0.5394 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002327/0.03132, allocations: 73.19 kB / 0.5394 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.03277, allocations: 345.1 kB / 0.5398 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003823/0.03659, allocations: 1.104 MB / 0.5409 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002947/0.03954, allocations: 1.209 MB / 0.542 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003939/0.04347, allocations: 2.674 MB / 0.5446 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.04486, allocations: 0.8798 MB / 0.5455 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002611/0.04747, allocations: 1.348 MB / 0.5468 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008963/0.04837, allocations: 0.6892 MB / 0.5475 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.04854, allocations: 111.2 kB / 0.5476 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008509/0.04939, allocations: 419.3 kB / 0.548 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.04961, allocations: 282.8 kB / 0.5483 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004424/0.05005, allocations: 422.9 kB / 0.5487 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.05174, allocations: 1.141 MB / 0.5498 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.05175, allocations: 0 / 0.5498 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.322e-06/0.05175, allocations: 0 / 0.5498 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.138e-05/0.05177, allocations: 0 / 0.5498 GB, free: 4.152 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.00199/0.05376, allocations: 1.552 MB / 0.5513 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.05381, allocations: 13.94 kB / 0.5513 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009893/0.0548, allocations: 340 kB / 0.5516 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.05589, allocations: 0.8458 MB / 0.5525 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/0.05594, allocations: 58.38 kB / 0.5525 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.05604, allocations: 84.91 kB / 0.5526 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.05711, allocations: 0.8649 MB / 0.5534 GB, free: 244 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.05713, allocations: 0 / 0.5534 GB, free: 244 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.05719, allocations: 32 kB / 0.5535 GB, free: 212 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.05721, allocations: 20 kB / 0.5535 GB, free: 192 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000531/0.05774, allocations: 307.5 kB / 0.5538 GB, free: 15.89 MB / 0.5261 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.003626/0.06136, allocations: 3.672 MB / 0.5574 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/0.06188, allocations: 285.4 kB / 0.5576 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.06204, allocations: 104.4 kB / 0.5577 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.06232, allocations: 89.78 kB / 0.5578 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004007/0.06272, allocations: 354.8 kB / 0.5582 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 2.825e-06/0.06273, allocations: 0.8125 kB / 0.5582 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.0008147/0.06354, allocations: 444.4 kB / 0.5586 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.0636, allocations: 110.8 kB / 0.5587 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006569/0.06426, allocations: 0.6824 MB / 0.5594 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.0643, allocations: 37.7 kB / 0.5594 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006253/0.06493, allocations: 0.5572 MB / 0.5599 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.06506, allocations: 170.6 kB / 0.5601 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.06525, allocations: 145 kB / 0.5602 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.06539, allocations: 0.5042 MB / 0.5607 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.06561, allocations: 122.9 kB / 0.5609 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/0.066, allocations: 0.5063 MB / 0.5614 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005681/0.06657, allocations: 489.1 kB / 0.5618 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.06657, allocations: 4.969 kB / 0.5618 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008625/0.06744, allocations: 0.5868 MB / 0.5624 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.06748, allocations: 39.89 kB / 0.5624 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.06749, allocations: 4 kB / 0.5624 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.06751, allocations: 8.625 kB / 0.5624 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.06809, allocations: 185.9 kB / 0.5626 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.06811, allocations: 15.94 kB / 0.5626 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.06853, allocations: 84.14 kB / 0.5627 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/0.06859, allocations: 34.36 kB / 0.5628 GB, free: 6.234 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.0002355/0.06882, allocations: 199.6 kB / 0.5629 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.06896, allocations: 111.4 kB / 0.563 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009495/0.06991, allocations: 0.5749 MB / 0.5636 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.06993, allocations: 9.469 kB / 0.5636 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.06993, allocations: 0 / 0.5636 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.06994, allocations: 7.984 kB / 0.5636 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.07162, allocations: 1.309 MB / 0.5649 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.07163, allocations: 4.938 kB / 0.5649 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/0.07209, allocations: 134.2 kB / 0.565 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.0721, allocations: 4 kB / 0.565 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.07214, allocations: 19.98 kB / 0.5651 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.07214, allocations: 7.938 kB / 0.5651 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.07214, allocations: 0 / 0.5651 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008884/0.07303, allocations: 0.7962 MB / 0.5658 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.07329, allocations: 171.8 kB / 0.566 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/0.07337, allocations: 15.94 kB / 0.566 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.07375, allocations: 45.52 kB / 0.5661 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.07383, allocations: 48.41 kB / 0.5661 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.07387, allocations: 16.48 kB / 0.5661 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006105/0.07448, allocations: 432.3 kB / 0.5665 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.07448, allocations: 0 / 0.5665 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008335/0.07531, allocations: 331.1 kB / 0.5669 GB, free: 1.926 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.001243/0.07656, allocations: 0.5419 MB / 0.5674 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006323/0.07719, allocations: 435.8 kB / 0.5678 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.07719, allocations: 3.938 kB / 0.5678 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.07745, allocations: 174.2 kB / 0.568 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.07867, allocations: 388.3 kB / 0.5683 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.08212, allocations: 1.838 MB / 0.5701 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.08227, allocations: 187.5 kB / 0.5703 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004525/0.08272, allocations: 166.2 kB / 0.5705 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005678/0.08329, allocations: 381.9 kB / 0.5708 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of SimCode: time 1.633e-06/0.08329, allocations: 0 / 0.5708 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of Templates: time 0.02319/0.1065, allocations: 18.11 MB / 0.5885 GB, free: 12.27 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.11294314218685]