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.001239/0.001239, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001643/0.002881, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00119/0.00119, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002652, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.967/0.967, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09634/1.063, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.7721/0.7721, allocations: 154.6 MB / 398.5 MB, free: 0.5391 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2697/1.042, allocations: 49.04 MB / 447.6 MB, free: 6.699 MB / 426.7 MB " [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.395e-06/2.395e-06, allocations: 0 / 448.9 MB, free: 5.422 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.625e-05, allocations: 4.391 kB / 448.9 MB, free: 5.418 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.01047/0.0105, allocations: 12.84 MB / 461.7 MB, free: 8.605 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.008114/0.01861, allocations: 6.19 MB / 467.9 MB, free: 2.461 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.01962, allocations: 67.97 kB / 468 MB, free: 2.395 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005544/0.02017, allocations: 354.2 kB / 468.3 MB, free: 2.047 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.02169, allocations: 1.09 MB / 469.4 MB, free: 0.9609 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.02332, allocations: 1.176 MB / 470.6 MB, free: 15.8 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001748/0.02506, allocations: 2.67 MB / 473.3 MB, free: 13.12 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.02607, allocations: 0.9101 MB / 474.2 MB, free: 12.2 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.02728, allocations: 1.452 MB / 475.6 MB, free: 10.77 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005453/0.02782, allocations: 0.6627 MB / 476.3 MB, free: 10.11 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.653e-05/0.02792, allocations: 108 kB / 476.4 MB, free: 10 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005387/0.02846, allocations: 433.2 kB / 476.8 MB, free: 9.578 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.02861, allocations: 219.1 kB / 477 MB, free: 9.363 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000276/0.02889, allocations: 359.2 kB / 477.4 MB, free: 9.012 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008969/0.02979, allocations: 1.051 MB / 478.4 MB, free: 7.957 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.918e-06/0.0298, allocations: 6.094 kB / 478.4 MB, free: 7.953 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.0298, allocations: 0 / 478.4 MB, free: 7.953 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.02981, allocations: 0 / 478.4 MB, free: 7.953 MB / 458.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.00135/0.03116, allocations: 1.662 MB / 480.1 MB, free: 6.258 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.03119, allocations: 12.03 kB / 480.1 MB, free: 6.246 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006167/0.0318, allocations: 372.8 kB / 480.5 MB, free: 5.867 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000717/0.03252, allocations: 0.6525 MB / 481.1 MB, free: 5.188 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.03255, allocations: 58.38 kB / 481.2 MB, free: 5.133 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.212e-05/0.03262, allocations: 81.38 kB / 481.3 MB, free: 5.055 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007374/0.03336, allocations: 0.8461 MB / 482.1 MB, free: 4.121 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.03338, allocations: 0 / 482.1 MB, free: 4.121 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.03342, allocations: 32.94 kB / 482.1 MB, free: 4.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.03343, allocations: 20 kB / 482.2 MB, free: 4.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.03376, allocations: 272.1 kB / 482.4 MB, free: 3.809 MB / 458.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.002081/0.03584, allocations: 2.582 MB / 485 MB, free: 1.148 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.0362, allocations: 311.4 kB / 485.3 MB, free: 0.8398 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.0363, allocations: 95.77 kB / 485.4 MB, free: 0.7461 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.03648, allocations: 75.92 kB / 485.5 MB, free: 0.6719 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003431/0.03682, allocations: 346.3 kB / 485.8 MB, free: 300 kB / 458.7 MB Notification: Performance of pre-optimization done (n=47): time 1.312e-06/0.03682, allocations: 0 / 485.8 MB, free: 300 kB / 458.7 MB Notification: Performance of matching and sorting (n=47): time 0.000432/0.03726, allocations: 322.1 kB / 486.1 MB, free: 15.97 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.03729, allocations: 89.06 kB / 486.2 MB, free: 15.87 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/0.0377, allocations: 0.6301 MB / 486.8 MB, free: 15.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.03774, allocations: 35.92 kB / 486.9 MB, free: 15.19 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.03791, allocations: 405.9 kB / 487.3 MB, free: 14.79 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.78e-05/0.03801, allocations: 174.5 kB / 487.4 MB, free: 14.61 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.03814, allocations: 130.2 kB / 487.6 MB, free: 14.48 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.926e-05/0.03822, allocations: 341.8 kB / 487.9 MB, free: 14.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.03838, allocations: 121.8 kB / 488 MB, free: 14.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.03865, allocations: 437.9 kB / 488.5 MB, free: 13.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.03904, allocations: 443.2 kB / 488.9 MB, free: 12.97 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.03905, allocations: 1.031 kB / 488.9 MB, free: 12.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0004856/0.03953, allocations: 484 kB / 489.4 MB, free: 12.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.03957, allocations: 33.7 kB / 489.4 MB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.03957, allocations: 4.781 kB / 489.4 MB, free: 12.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.03958, allocations: 13.3 kB / 489.4 MB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005042/0.04009, allocations: 221.3 kB / 489.6 MB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.04009, allocations: 10.28 kB / 489.6 MB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.04035, allocations: 87.53 kB / 489.7 MB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.0404, allocations: 35.92 kB / 489.8 MB, free: 12.09 MB / 474.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.0001604/0.04056, allocations: 152.9 kB / 489.9 MB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.04063, allocations: 69.39 kB / 490 MB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000627/0.04126, allocations: 0.5009 MB / 490.5 MB, free: 11.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.04126, allocations: 5.812 kB / 490.5 MB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.04127, allocations: 0 / 490.5 MB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.04127, allocations: 3.984 kB / 490.5 MB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.0425, allocations: 1.141 MB / 491.6 MB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.04251, allocations: 0 / 491.6 MB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/0.04304, allocations: 153.2 kB / 491.8 MB, free: 10 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.0432, allocations: 111.8 kB / 491.9 MB, free: 9.895 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.04321, allocations: 4.75 kB / 491.9 MB, free: 9.891 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.04324, allocations: 19.92 kB / 491.9 MB, free: 9.871 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.04324, allocations: 9.406 kB / 491.9 MB, free: 9.863 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.04324, allocations: 11.98 kB / 491.9 MB, free: 9.852 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007268/0.04397, allocations: 0.6723 MB / 492.6 MB, free: 9.148 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/0.04404, allocations: 15.94 kB / 492.6 MB, free: 9.133 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.04429, allocations: 41.92 kB / 492.7 MB, free: 9.094 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.04435, allocations: 48.36 kB / 492.7 MB, free: 9.047 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.04437, allocations: 16.97 kB / 492.7 MB, free: 9.031 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002293/0.0446, allocations: 315.3 kB / 493 MB, free: 8.727 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0446, allocations: 2.594 kB / 493 MB, free: 8.727 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005222/0.04513, allocations: 327.1 kB / 493.4 MB, free: 8.406 MB / 474.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.001389/0.04651, allocations: 0.7236 MB / 494.1 MB, free: 8.062 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004209/0.04694, allocations: 413.9 kB / 494.5 MB, free: 7.645 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/0.04695, allocations: 12 kB / 494.5 MB, free: 7.633 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.04712, allocations: 155.7 kB / 494.6 MB, free: 7.48 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000828/0.04794, allocations: 440.7 kB / 495.1 MB, free: 7.086 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007404/0.05535, allocations: 1.821 MB / 496.9 MB, free: 5.215 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.05546, allocations: 183.5 kB / 497.1 MB, free: 5.016 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004175/0.05588, allocations: 159.1 kB / 497.2 MB, free: 4.883 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005113/0.05639, allocations: 322 kB / 497.5 MB, free: 4.57 MB / 474.7 MB Notification: Performance of SimCode: time 7.31e-07/0.05639, allocations: 0 / 497.5 MB, free: 4.57 MB / 474.7 MB Notification: Performance of Templates: time 0.02051/0.0769, allocations: 18.69 MB / 0.5041 GB, free: 2.445 MB / 490.7 MB " [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.019525880925357]