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.001007/0.001007, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001109/0.001109, allocations: 181 kB / 23.36 MB, free: 1.133 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.9487/0.9487, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.8099/0.8099, allocations: 154.9 MB / 415.1 MB, free: 224 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.573e-06/1.573e-06, allocations: 0 / 480.3 MB, free: 6.531 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.902e-05, allocations: 7.047 kB / 480.3 MB, free: 6.527 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.01048/0.01051, allocations: 12.76 MB / 493.1 MB, free: 9.785 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00909/0.0196, allocations: 6.121 MB / 499.2 MB, free: 3.707 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.02117, allocations: 72.53 kB / 499.3 MB, free: 3.637 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008259/0.022, allocations: 341.3 kB / 499.6 MB, free: 3.301 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.02439, allocations: 1.105 MB / 0.489 GB, free: 2.199 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.02645, allocations: 1.197 MB / 0.4902 GB, free: 1.012 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002639/0.02909, allocations: 2.678 MB / 0.4928 GB, free: 14.32 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.03027, allocations: 0.8876 MB / 0.4936 GB, free: 13.41 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.03238, allocations: 1.349 MB / 0.495 GB, free: 12.08 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009181/0.0333, allocations: 0.6588 MB / 0.4956 GB, free: 11.42 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001904/0.03349, allocations: 108 kB / 0.4957 GB, free: 11.32 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007563/0.03424, allocations: 412.6 kB / 0.4961 GB, free: 10.91 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.03446, allocations: 290.8 kB / 0.4964 GB, free: 10.63 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004112/0.03487, allocations: 418.9 kB / 0.4968 GB, free: 10.22 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.03628, allocations: 1.142 MB / 0.4979 GB, free: 9.074 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.03628, allocations: 0 / 0.4979 GB, free: 9.074 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.03629, allocations: 0 / 0.4979 GB, free: 9.074 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.295e-05/0.03631, allocations: 3.938 kB / 0.4979 GB, free: 9.07 MB / 474.7 MB 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.001549/0.03786, allocations: 1.401 MB / 0.4993 GB, free: 7.637 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.03789, allocations: 8.031 kB / 0.4993 GB, free: 7.629 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006774/0.03857, allocations: 288.2 kB / 0.4995 GB, free: 7.352 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008993/0.03947, allocations: 0.6493 MB / 0.5002 GB, free: 6.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.03951, allocations: 62.38 kB / 0.5002 GB, free: 6.617 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-05/0.03959, allocations: 83.94 kB / 0.5003 GB, free: 6.535 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007932/0.04038, allocations: 0.8379 MB / 0.5011 GB, free: 5.613 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.0404, allocations: 0 / 0.5011 GB, free: 5.613 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.04045, allocations: 39.09 kB / 0.5012 GB, free: 5.578 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.04046, allocations: 16 kB / 0.5012 GB, free: 5.562 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.04082, allocations: 280.5 kB / 0.5015 GB, free: 5.285 MB / 474.7 MB 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.002457/0.04328, allocations: 2.589 MB / 0.504 GB, free: 2.629 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.04368, allocations: 313 kB / 0.5043 GB, free: 2.316 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.04379, allocations: 93.02 kB / 0.5044 GB, free: 2.223 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.04401, allocations: 82.27 kB / 0.5045 GB, free: 2.148 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002954/0.0443, allocations: 341.8 kB / 0.5048 GB, free: 1.773 MB / 474.7 MB Notification: Performance of pre-optimization done (n=47): time 1.613e-06/0.0443, allocations: 4 kB / 0.5048 GB, free: 1.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=47): time 0.0004752/0.04478, allocations: 328.8 kB / 0.5051 GB, free: 1.441 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.04483, allocations: 112.2 kB / 0.5052 GB, free: 1.309 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/0.04527, allocations: 0.6185 MB / 0.5058 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.04531, allocations: 37.7 kB / 0.5058 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.0455, allocations: 409.8 kB / 0.5062 GB, free: 232 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.611e-05/0.0456, allocations: 171.3 kB / 0.5064 GB, free: 60 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.04574, allocations: 134.2 kB / 0.5065 GB, free: 15.92 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.996e-05/0.04582, allocations: 338.7 kB / 0.5068 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.04601, allocations: 121.8 kB / 0.507 GB, free: 15.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.04629, allocations: 431.6 kB / 0.5074 GB, free: 14.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004205/0.04671, allocations: 443.3 kB / 0.5078 GB, free: 14.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.04671, allocations: 0 / 0.5078 GB, free: 14.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0005327/0.04724, allocations: 486.8 kB / 0.5083 GB, free: 13.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.04728, allocations: 35.05 kB / 0.5083 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.04729, allocations: 4 kB / 0.5083 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.0473, allocations: 8 kB / 0.5083 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.04775, allocations: 177.6 kB / 0.5085 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.04776, allocations: 15.92 kB / 0.5085 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.04805, allocations: 89.73 kB / 0.5086 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.04809, allocations: 31.97 kB / 0.5086 GB, free: 13.58 MB / 490.7 MB 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.0001717/0.04827, allocations: 155.5 kB / 0.5088 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.954e-05/0.04835, allocations: 68.48 kB / 0.5088 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006458/0.04899, allocations: 0.4911 MB / 0.5093 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.049, allocations: 8 kB / 0.5093 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.049, allocations: 0 / 0.5093 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.04901, allocations: 7.016 kB / 0.5093 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.05018, allocations: 1.143 MB / 0.5104 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.05019, allocations: 0 / 0.5104 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.05053, allocations: 129.3 kB / 0.5106 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.05054, allocations: 4 kB / 0.5106 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.05057, allocations: 20.42 kB / 0.5106 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.05057, allocations: 4 kB / 0.5106 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.05057, allocations: 10.69 kB / 0.5106 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005797/0.05115, allocations: 0.6709 MB / 0.5112 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.05133, allocations: 115.3 kB / 0.5114 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.346e-05/0.05139, allocations: 19.98 kB / 0.5114 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.05165, allocations: 42.39 kB / 0.5114 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.05171, allocations: 44.36 kB / 0.5115 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.05174, allocations: 15.98 kB / 0.5115 GB, free: 10.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000246/0.05199, allocations: 315.3 kB / 0.5118 GB, free: 10.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05199, allocations: 1.5 kB / 0.5118 GB, free: 10.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006265/0.05261, allocations: 331.1 kB / 0.5121 GB, free: 9.926 MB / 490.7 MB 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.001322/0.05393, allocations: 0.6595 MB / 0.5127 GB, free: 9.598 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004734/0.05441, allocations: 408.9 kB / 0.5131 GB, free: 9.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/0.05442, allocations: 12.78 kB / 0.5131 GB, free: 9.168 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.05459, allocations: 153.4 kB / 0.5133 GB, free: 9.016 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008418/0.05544, allocations: 370.6 kB / 0.5136 GB, free: 8.695 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.05843, allocations: 1.822 MB / 0.5154 GB, free: 6.848 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.05855, allocations: 184.6 kB / 0.5156 GB, free: 6.648 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004312/0.05898, allocations: 162.3 kB / 0.5157 GB, free: 6.512 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/0.05951, allocations: 324.5 kB / 0.5161 GB, free: 6.195 MB / 490.7 MB Notification: Performance of SimCode: time 8.12e-07/0.05951, allocations: 0 / 0.5161 GB, free: 6.195 MB / 490.7 MB Notification: Performance of Templates: time 0.02148/0.08099, allocations: 17.98 MB / 0.5336 GB, free: 4.699 MB / 0.4948 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.07891808077693]