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.0009721/0.0009721, 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.000896/0.000896, allocations: 169 kB / 23.02 MB, free: 1.547 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.9229/0.9229, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.76/0.76, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.863e-06/1.863e-06, allocations: 0 / 0.5203 GB, free: 2.227 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.865e-05, allocations: 3.078 kB / 0.5203 GB, free: 2.223 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.01433/0.01436, allocations: 12.9 MB / 0.5329 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007838/0.02219, allocations: 6.027 MB / 0.5388 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.02323, allocations: 67.44 kB / 0.5388 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0007212/0.02395, allocations: 351 kB / 0.5392 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.02585, allocations: 1.101 MB / 0.5403 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.02769, allocations: 1.214 MB / 0.5414 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002546/0.03024, allocations: 2.676 MB / 0.5441 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.03131, allocations: 0.8841 MB / 0.5449 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.03303, allocations: 1.335 MB / 0.5462 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008408/0.03388, allocations: 0.6937 MB / 0.5469 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.03404, allocations: 112 kB / 0.547 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007069/0.03475, allocations: 411.8 kB / 0.5474 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.03494, allocations: 287.9 kB / 0.5477 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.03534, allocations: 426.9 kB / 0.5481 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.03672, allocations: 1.141 MB / 0.5492 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.03672, allocations: 2.469 kB / 0.5492 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.503e-06/0.03673, allocations: 4 kB / 0.5492 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.983e-05/0.03675, allocations: 0 / 0.5492 GB, free: 4.637 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.001643/0.03839, allocations: 1.528 MB / 0.5507 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.03842, allocations: 8.031 kB / 0.5507 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007997/0.03922, allocations: 344 kB / 0.551 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009418/0.04016, allocations: 0.8523 MB / 0.5519 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.0402, allocations: 58.38 kB / 0.5519 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.85e-05/0.04029, allocations: 87.88 kB / 0.552 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.04132, allocations: 0.9061 MB / 0.5529 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.04134, allocations: 9.219 kB / 0.5529 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-05/0.04139, allocations: 39.98 kB / 0.5529 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.04141, allocations: 20 kB / 0.553 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005825/0.04199, allocations: 374.6 kB / 0.5533 GB, free: 272 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.003064/0.04506, allocations: 3.807 MB / 0.557 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.04558, allocations: 327.7 kB / 0.5573 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.04576, allocations: 124.4 kB / 0.5575 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002379/0.04599, allocations: 77.31 kB / 0.5575 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000362/0.04636, allocations: 373.5 kB / 0.5579 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 1.503e-06/0.04636, allocations: 0 / 0.5579 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.000762/0.04712, allocations: 493 kB / 0.5584 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.04717, allocations: 118.8 kB / 0.5585 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005543/0.04772, allocations: 0.6946 MB / 0.5591 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.04777, allocations: 38.2 kB / 0.5592 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.04804, allocations: 0.5502 MB / 0.5597 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.895e-05/0.04814, allocations: 166.6 kB / 0.5599 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.04828, allocations: 140.4 kB / 0.56 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.0484, allocations: 0.5042 MB / 0.5605 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.04859, allocations: 128 kB / 0.5606 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.04892, allocations: 0.5141 MB / 0.5611 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.0494, allocations: 0.4971 MB / 0.5616 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.0494, allocations: 4 kB / 0.5616 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000712/0.05011, allocations: 0.6063 MB / 0.5622 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.05015, allocations: 44.92 kB / 0.5623 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.05015, allocations: 4 kB / 0.5623 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.05017, allocations: 8 kB / 0.5623 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.05062, allocations: 183.7 kB / 0.5624 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.05063, allocations: 8 kB / 0.5624 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.05092, allocations: 88.39 kB / 0.5625 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.05098, allocations: 45.2 kB / 0.5626 GB, free: 6.273 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.0001867/0.05116, allocations: 196.3 kB / 0.5628 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.05127, allocations: 113.6 kB / 0.5629 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008444/0.05211, allocations: 0.6299 MB / 0.5635 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.05212, allocations: 8 kB / 0.5635 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.05212, allocations: 1.094 kB / 0.5635 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.05213, allocations: 3.984 kB / 0.5635 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.05359, allocations: 1.466 MB / 0.5649 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.05359, allocations: 0 / 0.5649 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.05397, allocations: 134.1 kB / 0.5651 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.05397, allocations: 7.938 kB / 0.5651 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.054, allocations: 15.98 kB / 0.5651 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.05401, allocations: 10.12 kB / 0.5651 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.05401, allocations: 0 / 0.5651 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008609/0.05487, allocations: 0.8614 MB / 0.5659 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.05507, allocations: 168.2 kB / 0.5661 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.901e-05/0.05514, allocations: 23.88 kB / 0.5661 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.05541, allocations: 40.55 kB / 0.5662 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.698e-05/0.05549, allocations: 49.08 kB / 0.5662 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.05552, allocations: 23.98 kB / 0.5662 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003598/0.05588, allocations: 459.6 kB / 0.5667 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.1e-08/0.05588, allocations: 0.5 kB / 0.5667 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005606/0.05645, allocations: 331.1 kB / 0.567 GB, free: 1.656 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.0009974/0.05744, allocations: 0.5461 MB / 0.5675 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005702/0.05801, allocations: 466.6 kB / 0.568 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.05801, allocations: 0 / 0.568 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.05826, allocations: 200.8 kB / 0.5681 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009177/0.05917, allocations: 392.9 kB / 0.5685 GB, free: 300 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.0624, allocations: 1.862 MB / 0.5703 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.06253, allocations: 187.5 kB / 0.5705 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004141/0.06294, allocations: 178.2 kB / 0.5707 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.06312, allocations: 96.38 kB / 0.5708 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of SimCode: time 8.91e-07/0.06312, allocations: 0 / 0.5708 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of Templates: time 0.02039/0.08351, allocations: 18.08 MB / 0.5884 GB, free: 12.2 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.022964810021222]