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.001101/0.001101, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001384/0.001384, allocations: 173 kB / 24.06 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.9885/0.9885, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.7801/0.7801, allocations: 154.9 MB / 415.9 MB, free: 244 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 1.603e-06/1.603e-06, allocations: 0 / 0.5219 GB, free: 1.578 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.312e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.574 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.009891/0.009914, allocations: 12.71 MB / 0.5343 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007426/0.01734, allocations: 5.991 MB / 0.5401 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009227/0.01826, allocations: 67.44 kB / 0.5402 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006697/0.01893, allocations: 349.2 kB / 0.5405 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.02079, allocations: 1.101 MB / 0.5416 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.02272, allocations: 1.208 MB / 0.5428 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002541/0.02526, allocations: 2.685 MB / 0.5454 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.0263, allocations: 0.8741 MB / 0.5463 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.02793, allocations: 1.342 MB / 0.5476 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007459/0.02868, allocations: 0.6902 MB / 0.5482 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.0288, allocations: 112 kB / 0.5484 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006462/0.02944, allocations: 411.3 kB / 0.5487 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.02963, allocations: 292.4 kB / 0.549 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.02996, allocations: 419 kB / 0.5494 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.03106, allocations: 1.141 MB / 0.5505 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.03106, allocations: 0 / 0.5505 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.022e-06/0.03106, allocations: 4 kB / 0.5505 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.03108, allocations: 4.625 kB / 0.5505 GB, free: 4.211 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.001451/0.03253, allocations: 1.546 MB / 0.5521 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.03256, allocations: 8.031 kB / 0.5521 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000758/0.03332, allocations: 343.2 kB / 0.5524 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008514/0.03417, allocations: 0.8392 MB / 0.5532 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.03421, allocations: 63.89 kB / 0.5533 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.192e-05/0.03429, allocations: 87.94 kB / 0.5534 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008084/0.0351, allocations: 0.8581 MB / 0.5542 GB, free: 320 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.03512, allocations: 7.938 kB / 0.5542 GB, free: 312 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.124e-05/0.03517, allocations: 32 kB / 0.5542 GB, free: 280 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.03518, allocations: 20 kB / 0.5542 GB, free: 260 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/0.03556, allocations: 299 kB / 0.5545 GB, free: 15.96 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.002632/0.03819, allocations: 3.677 MB / 0.5581 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/0.03861, allocations: 297.3 kB / 0.5584 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.03874, allocations: 104.9 kB / 0.5585 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/0.03895, allocations: 74.02 kB / 0.5586 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003106/0.03926, allocations: 360.4 kB / 0.5589 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 1.523e-06/0.03926, allocations: 0 / 0.5589 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.0006071/0.03987, allocations: 433.5 kB / 0.5593 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.03991, allocations: 114.8 kB / 0.5594 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004723/0.04039, allocations: 0.6834 MB / 0.5601 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.04042, allocations: 37.7 kB / 0.5601 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.04069, allocations: 0.5618 MB / 0.5607 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.574e-05/0.04079, allocations: 166.6 kB / 0.5609 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.04093, allocations: 140.6 kB / 0.561 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.04105, allocations: 0.5042 MB / 0.5615 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.04122, allocations: 125.2 kB / 0.5616 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.04153, allocations: 0.5012 MB / 0.5621 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.04196, allocations: 493.6 kB / 0.5626 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.04196, allocations: 4 kB / 0.5626 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0006472/0.04261, allocations: 0.5831 MB / 0.5631 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.04264, allocations: 33.7 kB / 0.5632 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.04264, allocations: 4 kB / 0.5632 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.04266, allocations: 8.562 kB / 0.5632 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.04311, allocations: 185 kB / 0.5634 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.04312, allocations: 11.94 kB / 0.5634 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.04341, allocations: 93.64 kB / 0.5635 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.04346, allocations: 27.98 kB / 0.5635 GB, free: 6.316 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.0001846/0.04365, allocations: 204.8 kB / 0.5637 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.04375, allocations: 105.8 kB / 0.5638 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007128/0.04446, allocations: 0.5809 MB / 0.5643 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/0.04447, allocations: 9.094 kB / 0.5644 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.04447, allocations: 4 kB / 0.5644 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.04448, allocations: 3.984 kB / 0.5644 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.04569, allocations: 1.314 MB / 0.5656 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.0457, allocations: 4 kB / 0.5657 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.04605, allocations: 134.1 kB / 0.5658 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.04605, allocations: 4 kB / 0.5658 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.04608, allocations: 19.98 kB / 0.5658 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.04609, allocations: 8.688 kB / 0.5658 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.04609, allocations: 0 / 0.5658 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006944/0.04678, allocations: 0.7971 MB / 0.5666 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.04698, allocations: 171.2 kB / 0.5668 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.726e-05/0.04705, allocations: 19.92 kB / 0.5668 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.04734, allocations: 50.23 kB / 0.5668 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.0474, allocations: 40.42 kB / 0.5669 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.04743, allocations: 15.98 kB / 0.5669 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002639/0.0477, allocations: 426.8 kB / 0.5673 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.0477, allocations: 0.9375 kB / 0.5673 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005756/0.04827, allocations: 335.1 kB / 0.5676 GB, free: 2 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.001115/0.04939, allocations: 0.5388 MB / 0.5681 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000503/0.04989, allocations: 430.3 kB / 0.5685 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.04989, allocations: 4 kB / 0.5685 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.05009, allocations: 169 kB / 0.5687 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009289/0.05102, allocations: 393.9 kB / 0.5691 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.05417, allocations: 1.84 MB / 0.5709 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.0543, allocations: 187.5 kB / 0.5711 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003969/0.05469, allocations: 158.2 kB / 0.5712 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005708/0.05526, allocations: 377.9 kB / 0.5716 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of SimCode: time 7.72e-07/0.05527, allocations: 4 kB / 0.5716 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of Templates: time 0.0201/0.07537, allocations: 18.38 MB / 0.5895 GB, free: 12.07 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.217348677106202]