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.0009691/0.0009691, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009732/0.0009732, allocations: 177 kB / 23.5 MB, free: 1.051 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.9832/0.9832, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.7745/0.7745, allocations: 154.6 MB / 414.9 MB, free: 0.6641 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.864e-06/1.864e-06, allocations: 0 / 0.5203 GB, free: 2.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.322e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.03364/0.03366, allocations: 43.69 MB / 0.563 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01172/0.04538, allocations: 11.42 MB / 0.5741 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.04645, allocations: 71.38 kB / 0.5742 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.04756, allocations: 0.5585 MB / 0.5748 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002324/0.04988, allocations: 1.546 MB / 0.5763 GB, free: 9.273 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.05185, allocations: 1.362 MB / 0.5776 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.05385, allocations: 2.725 MB / 0.5803 GB, free: 5.18 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008312/0.05469, allocations: 0.8822 MB / 0.5811 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.05656, allocations: 1.627 MB / 0.5827 GB, free: 2.664 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006197/0.05718, allocations: 0.7048 MB / 0.5834 GB, free: 1.957 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.05729, allocations: 112 kB / 0.5835 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009152/0.0582, allocations: 0.6666 MB / 0.5841 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.0584, allocations: 294.8 kB / 0.5844 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003131/0.05871, allocations: 423 kB / 0.5848 GB, free: 488 kB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.05998, allocations: 1.378 MB / 0.5862 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.05999, allocations: 0 / 0.5862 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.362e-06/0.05999, allocations: 0 / 0.5862 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.06, allocations: 0 / 0.5862 GB, free: 15.09 MB / 0.5573 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.001503/0.0615, allocations: 1.588 MB / 0.5877 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.06154, allocations: 8.031 kB / 0.5877 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000798/0.06233, allocations: 343.9 kB / 0.5881 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.06341, allocations: 0.9243 MB / 0.589 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.06345, allocations: 66.38 kB / 0.589 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.671e-05/0.06354, allocations: 79.94 kB / 0.5891 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.06461, allocations: 0.9203 MB / 0.59 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.06463, allocations: 3.984 kB / 0.59 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.545e-05/0.06469, allocations: 32 kB / 0.59 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.0647, allocations: 20 kB / 0.5901 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006168/0.06532, allocations: 387.5 kB / 0.5904 GB, free: 10.56 MB / 0.5573 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.003052/0.06837, allocations: 3.795 MB / 0.5941 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000837/0.06921, allocations: 328.5 kB / 0.5944 GB, free: 6.316 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.0694, allocations: 124.4 kB / 0.5946 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002893/0.06969, allocations: 116.2 kB / 0.5947 GB, free: 6.078 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003783/0.07007, allocations: 370.4 kB / 0.595 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=47): time 1.472e-06/0.07007, allocations: 0 / 0.595 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of matching and sorting (n=47): time 0.0008194/0.07089, allocations: 496.8 kB / 0.5955 GB, free: 5.18 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.07095, allocations: 110.8 kB / 0.5956 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005842/0.07153, allocations: 0.6985 MB / 0.5963 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.07157, allocations: 37.7 kB / 0.5963 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.07185, allocations: 0.5379 MB / 0.5969 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.07195, allocations: 174.5 kB / 0.597 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.0721, allocations: 139.9 kB / 0.5972 GB, free: 3.426 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.07222, allocations: 0.5081 MB / 0.5977 GB, free: 2.91 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.07243, allocations: 134.9 kB / 0.5978 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.0728, allocations: 0.5091 MB / 0.5983 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005189/0.07332, allocations: 0.5017 MB / 0.5988 GB, free: 1.516 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.07332, allocations: 0 / 0.5988 GB, free: 1.516 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007623/0.07408, allocations: 0.6015 MB / 0.5994 GB, free: 0.8984 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.07412, allocations: 37.69 kB / 0.5994 GB, free: 0.8555 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.07412, allocations: 4 kB / 0.5994 GB, free: 0.8516 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.07414, allocations: 12 kB / 0.5994 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/0.07462, allocations: 188.3 kB / 0.5996 GB, free: 0.6562 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.07463, allocations: 15.97 kB / 0.5996 GB, free: 0.6406 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.07493, allocations: 79.58 kB / 0.5997 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.07498, allocations: 43.92 kB / 0.5997 GB, free: 0.5195 MB / 0.5573 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.0001986/0.07518, allocations: 196.3 kB / 0.5999 GB, free: 324 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.07529, allocations: 103.4 kB / 0.6 GB, free: 220 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009741/0.07626, allocations: 0.7045 MB / 0.6007 GB, free: 15.51 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.07628, allocations: 8 kB / 0.6007 GB, free: 15.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.07628, allocations: 3.984 kB / 0.6007 GB, free: 15.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.07629, allocations: 0 / 0.6007 GB, free: 15.5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.07809, allocations: 1.497 MB / 0.6022 GB, free: 13.94 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.07809, allocations: 3.938 kB / 0.6022 GB, free: 13.94 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/0.07847, allocations: 140.3 kB / 0.6023 GB, free: 13.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.07847, allocations: 4 kB / 0.6023 GB, free: 13.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.07851, allocations: 19.92 kB / 0.6023 GB, free: 13.78 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.07851, allocations: 7.938 kB / 0.6023 GB, free: 13.77 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.07851, allocations: 4 kB / 0.6023 GB, free: 13.77 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009631/0.07948, allocations: 0.935 MB / 0.6033 GB, free: 12.79 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.07969, allocations: 179.1 kB / 0.6034 GB, free: 12.62 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-05/0.07976, allocations: 19.94 kB / 0.6034 GB, free: 12.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.08004, allocations: 43.95 kB / 0.6035 GB, free: 12.55 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/0.08013, allocations: 48.41 kB / 0.6035 GB, free: 12.51 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/0.08017, allocations: 27.98 kB / 0.6036 GB, free: 12.48 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003849/0.08055, allocations: 462.9 kB / 0.604 GB, free: 12.04 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.08055, allocations: 0 / 0.604 GB, free: 12.04 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007047/0.08126, allocations: 398.9 kB / 0.6044 GB, free: 11.64 MB / 0.573 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 (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.001256/0.08251, allocations: 0.7172 MB / 0.6051 GB, free: 11.12 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006179/0.08313, allocations: 489 kB / 0.6055 GB, free: 10.62 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.08313, allocations: 0 / 0.6055 GB, free: 10.62 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.08341, allocations: 211.7 kB / 0.6057 GB, free: 10.41 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009615/0.08437, allocations: 400.2 kB / 0.6061 GB, free: 10.05 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003296/0.08767, allocations: 1.909 MB / 0.608 GB, free: 8.078 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.08779, allocations: 196.4 kB / 0.6082 GB, free: 7.863 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006265/0.08842, allocations: 188.9 kB / 0.6084 GB, free: 7.676 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.08859, allocations: 88.45 kB / 0.6084 GB, free: 7.59 MB / 0.573 GB Notification: Performance of SimCode: time 9.22e-07/0.08859, allocations: 0 / 0.6084 GB, free: 7.59 MB / 0.573 GB Notification: Performance of Templates: time 0.02057/0.1092, allocations: 19.02 MB / 0.627 GB, free: 4.957 MB / 0.5886 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.257143839029595]