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.001415/0.001415, allocations: 93.06 kB / 19.65 MB, free: 280 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.001047/0.001047, allocations: 169 kB / 23.02 MB, free: 1.555 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.9736/0.9736, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.7873/0.7873, allocations: 154.6 MB / 414.5 MB, free: 0.6836 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 2.274e-06/2.274e-06, allocations: 0 / 0.5203 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.88e-05, allocations: 4.141 kB / 0.5203 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.01153/0.01156, allocations: 12.9 MB / 0.5329 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.009438/0.021, allocations: 6.029 MB / 0.5388 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.02267, allocations: 71.38 kB / 0.5389 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008956/0.02357, allocations: 353.8 kB / 0.5392 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.02603, allocations: 1.091 MB / 0.5403 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.02832, allocations: 1.208 MB / 0.5414 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003018/0.03134, allocations: 2.68 MB / 0.5441 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.03268, allocations: 0.8845 MB / 0.5449 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002468/0.03514, allocations: 1.261 MB / 0.5461 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008601/0.036, allocations: 0.7058 MB / 0.5468 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.03615, allocations: 112.5 kB / 0.5469 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007959/0.03695, allocations: 423.3 kB / 0.5473 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.03717, allocations: 289.5 kB / 0.5476 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003886/0.03756, allocations: 431 kB / 0.548 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.03891, allocations: 1.148 MB / 0.5492 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.03891, allocations: 7.875 kB / 0.5492 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.644e-06/0.03892, allocations: 0 / 0.5492 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.03893, allocations: 0 / 0.5492 GB, free: 4.695 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.001722/0.04065, allocations: 1.537 MB / 0.5507 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.0407, allocations: 8.031 kB / 0.5507 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008262/0.04153, allocations: 343.5 kB / 0.551 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.04283, allocations: 0.9289 MB / 0.5519 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/0.04288, allocations: 66.31 kB / 0.552 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.04298, allocations: 86.31 kB / 0.5521 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.04412, allocations: 0.9087 MB / 0.5529 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.04414, allocations: 3.938 kB / 0.5529 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.814e-05/0.0442, allocations: 33.31 kB / 0.553 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.04422, allocations: 20 kB / 0.553 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005957/0.04481, allocations: 380.9 kB / 0.5534 GB, free: 240 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.003159/0.04797, allocations: 3.797 MB / 0.5571 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005219/0.0485, allocations: 334.5 kB / 0.5574 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.04867, allocations: 124.4 kB / 0.5575 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/0.04892, allocations: 77.42 kB / 0.5576 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003683/0.04929, allocations: 366.3 kB / 0.5579 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 1.914e-06/0.04929, allocations: 1 kB / 0.5579 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.0007656/0.05005, allocations: 0.4901 MB / 0.5584 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.05011, allocations: 110.8 kB / 0.5585 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005634/0.05067, allocations: 0.7029 MB / 0.5592 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.05071, allocations: 39.23 kB / 0.5592 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.05098, allocations: 0.5456 MB / 0.5598 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.885e-05/0.05108, allocations: 166.6 kB / 0.5599 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.05122, allocations: 143.9 kB / 0.5601 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.05134, allocations: 0.5053 MB / 0.5606 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.05154, allocations: 130.9 kB / 0.5607 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.05188, allocations: 0.5144 MB / 0.5612 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.05236, allocations: 0.4984 MB / 0.5617 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.05237, allocations: 4 kB / 0.5617 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000715/0.05308, allocations: 0.6018 MB / 0.5623 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.05311, allocations: 41.62 kB / 0.5623 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.05312, allocations: 4 kB / 0.5623 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.05314, allocations: 9.562 kB / 0.5623 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/0.05362, allocations: 181.2 kB / 0.5625 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.05363, allocations: 19.92 kB / 0.5625 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.05395, allocations: 81.11 kB / 0.5626 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/0.054, allocations: 35.92 kB / 0.5626 GB, free: 6.258 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.000187/0.05418, allocations: 203 kB / 0.5628 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.05429, allocations: 108.6 kB / 0.5629 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000846/0.05514, allocations: 0.6299 MB / 0.5635 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.05515, allocations: 11.98 kB / 0.5635 GB, free: 5.301 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.05515, allocations: 0.5 kB / 0.5635 GB, free: 5.301 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.05516, allocations: 0.8125 kB / 0.5635 GB, free: 5.301 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.05666, allocations: 1.482 MB / 0.565 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.05666, allocations: 0 / 0.565 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.05703, allocations: 132.5 kB / 0.5651 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.05704, allocations: 9.875 kB / 0.5651 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.05707, allocations: 11.98 kB / 0.5651 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.05707, allocations: 7.938 kB / 0.5651 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.05708, allocations: 0 / 0.5651 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009196/0.058, allocations: 0.8625 MB / 0.566 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/0.05822, allocations: 167.7 kB / 0.5661 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.595e-05/0.05829, allocations: 27.88 kB / 0.5662 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.05858, allocations: 37.47 kB / 0.5662 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/0.05865, allocations: 44.41 kB / 0.5663 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.05869, allocations: 24.98 kB / 0.5663 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003705/0.05906, allocations: 454.9 kB / 0.5667 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/0.05906, allocations: 0.6875 kB / 0.5667 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006909/0.05975, allocations: 331.2 kB / 0.567 GB, free: 1.637 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.001092/0.06084, allocations: 0.5462 MB / 0.5676 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006286/0.06147, allocations: 477 kB / 0.568 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.06148, allocations: 0 / 0.568 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.06172, allocations: 190.2 kB / 0.5682 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009335/0.06266, allocations: 397.9 kB / 0.5686 GB, free: 276 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.06611, allocations: 1.862 MB / 0.5704 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.06624, allocations: 187.5 kB / 0.5706 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004629/0.0667, allocations: 186.2 kB / 0.5708 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.06688, allocations: 84.45 kB / 0.5708 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of SimCode: time 1.473e-06/0.06688, allocations: 0 / 0.5708 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of Templates: time 0.02063/0.08751, allocations: 16.27 MB / 0.5867 GB, free: 13.98 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.310197351034731]