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.0006534/0.0006534, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009321/0.001585, allocations: 440 kB / 10.41 MB, free: 284 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.0006836/0.0006836, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009568/0.00164, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9586/0.9586, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08606/1.045, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7801/0.7801, allocations: 155.4 MB / 399.5 MB, free: 15.79 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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.26/1.04, allocations: 49.13 MB / 448.6 MB, free: 5.895 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-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.343e-06/1.343e-06, allocations: 0 / 449.9 MB, free: 4.598 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087e-05/1.221e-05, allocations: 4.562 kB / 450 MB, free: 4.594 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.01018/0.01019, allocations: 12.86 MB / 462.8 MB, free: 7.762 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.008529/0.01872, allocations: 6.177 MB / 469 MB, free: 1.621 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.01974, allocations: 75.38 kB / 469.1 MB, free: 1.547 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006301/0.02037, allocations: 349.7 kB / 469.4 MB, free: 1.203 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.02236, allocations: 1.092 MB / 470.5 MB, free: 120 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.02428, allocations: 1.192 MB / 471.7 MB, free: 14.94 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.02684, allocations: 2.675 MB / 474.4 MB, free: 12.26 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.02818, allocations: 0.9191 MB / 475.3 MB, free: 11.34 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.02992, allocations: 1.419 MB / 476.7 MB, free: 9.934 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007166/0.03063, allocations: 0.6645 MB / 477.4 MB, free: 9.27 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.03076, allocations: 112 kB / 477.5 MB, free: 9.16 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007422/0.0315, allocations: 431.3 kB / 477.9 MB, free: 8.738 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.03166, allocations: 215.9 kB / 478.1 MB, free: 8.527 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.03197, allocations: 359.2 kB / 478.5 MB, free: 8.176 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.03317, allocations: 1.056 MB / 479.5 MB, free: 7.117 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.03319, allocations: 3.938 kB / 479.5 MB, free: 7.113 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.03319, allocations: 0 / 479.5 MB, free: 7.113 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.0332, allocations: 0 / 479.5 MB, free: 7.113 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.00151/0.03471, allocations: 1.655 MB / 481.2 MB, free: 5.426 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.03475, allocations: 8.031 kB / 481.2 MB, free: 5.418 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007562/0.0355, allocations: 377 kB / 481.5 MB, free: 5.035 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007745/0.03628, allocations: 0.6489 MB / 482.2 MB, free: 4.359 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.03631, allocations: 70.36 kB / 482.3 MB, free: 4.293 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.093e-05/0.03639, allocations: 81.11 kB / 482.3 MB, free: 4.215 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008782/0.03727, allocations: 0.8375 MB / 483.2 MB, free: 3.289 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.03729, allocations: 4.781 kB / 483.2 MB, free: 3.285 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.414e-05/0.03733, allocations: 32 kB / 483.2 MB, free: 3.254 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.03734, allocations: 21.78 kB / 483.2 MB, free: 3.234 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003426/0.03769, allocations: 269.9 kB / 483.5 MB, free: 2.973 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.002234/0.03992, allocations: 2.591 MB / 486.1 MB, free: 316 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.0403, allocations: 312.6 kB / 486.4 MB, free: 0 / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.04042, allocations: 93.42 kB / 486.5 MB, free: 15.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002059/0.04063, allocations: 83.17 kB / 486.6 MB, free: 15.83 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005755/0.0412, allocations: 341.8 kB / 486.9 MB, free: 15.45 MB / 474.7 MB Notification: Performance of pre-optimization done (n=47): time 1.463e-06/0.0412, allocations: 4 kB / 486.9 MB, free: 15.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=47): time 0.0004376/0.04164, allocations: 324.3 kB / 487.2 MB, free: 15.12 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.04168, allocations: 89.72 kB / 487.3 MB, free: 15.02 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/0.04209, allocations: 0.6236 MB / 487.9 MB, free: 14.38 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.04213, allocations: 37.7 kB / 488 MB, free: 14.34 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.0423, allocations: 405.9 kB / 488.4 MB, free: 13.94 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.068e-05/0.04239, allocations: 170.5 kB / 488.5 MB, free: 13.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.04252, allocations: 131.2 kB / 488.7 MB, free: 13.64 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.172e-05/0.04259, allocations: 337.8 kB / 489 MB, free: 13.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.04276, allocations: 130.7 kB / 489.1 MB, free: 13.17 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.04303, allocations: 435.6 kB / 489.5 MB, free: 12.63 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.04345, allocations: 464.4 kB / 490 MB, free: 12.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.04346, allocations: 0 / 490 MB, free: 12.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0005047/0.04396, allocations: 484.5 kB / 490.5 MB, free: 11.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.04399, allocations: 33.7 kB / 490.5 MB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.044, allocations: 4 kB / 490.5 MB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.04403, allocations: 17.53 kB / 490.5 MB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.04453, allocations: 217 kB / 490.7 MB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.04454, allocations: 8 kB / 490.7 MB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.0448, allocations: 88.91 kB / 490.8 MB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.04485, allocations: 31.92 kB / 490.9 MB, free: 11.23 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.0001601/0.04501, allocations: 160.9 kB / 491 MB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.393e-05/0.04508, allocations: 67.92 kB / 491.1 MB, free: 11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006049/0.04569, allocations: 0.4988 MB / 491.6 MB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.04569, allocations: 4 kB / 491.6 MB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.0457, allocations: 0 / 491.6 MB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.0457, allocations: 9.453 kB / 491.6 MB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.04672, allocations: 1.136 MB / 492.7 MB, free: 9.293 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.04673, allocations: 3.984 kB / 492.7 MB, free: 9.289 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/0.04713, allocations: 149.2 kB / 492.9 MB, free: 9.145 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.04729, allocations: 123.2 kB / 493 MB, free: 9.023 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.04729, allocations: 0.5 kB / 493 MB, free: 9.023 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.04732, allocations: 26.58 kB / 493 MB, free: 9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.04732, allocations: 3.938 kB / 493 MB, free: 8.996 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.04733, allocations: 4 kB / 493 MB, free: 8.992 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007918/0.04812, allocations: 0.6729 MB / 493.7 MB, free: 8.289 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.194e-05/0.04818, allocations: 15.94 kB / 493.7 MB, free: 8.273 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.04843, allocations: 46.7 kB / 493.8 MB, free: 8.23 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.0485, allocations: 44.36 kB / 493.8 MB, free: 8.188 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.04853, allocations: 19.97 kB / 493.8 MB, free: 8.168 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002275/0.04875, allocations: 315.3 kB / 494.1 MB, free: 7.863 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04876, allocations: 0 / 494.1 MB, free: 7.863 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005203/0.04928, allocations: 331.1 kB / 494.5 MB, free: 7.539 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.001504/0.05078, allocations: 0.7276 MB / 495.2 MB, free: 7.191 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004491/0.05123, allocations: 415.7 kB / 495.6 MB, free: 6.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.611e-05/0.05124, allocations: 12 kB / 495.6 MB, free: 6.758 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.05147, allocations: 199.5 kB / 495.8 MB, free: 6.562 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.05284, allocations: 2.456 MB / 498.3 MB, free: 3.691 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007207/0.06005, allocations: 1.807 MB / 0.4884 GB, free: 1.836 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.06016, allocations: 179.5 kB / 0.4885 GB, free: 1.637 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003786/0.06054, allocations: 162.1 kB / 0.4887 GB, free: 1.504 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005391/0.06108, allocations: 323 kB / 0.489 GB, free: 1.188 MB / 474.7 MB Notification: Performance of SimCode: time 9.12e-07/0.06108, allocations: 0 / 0.489 GB, free: 1.188 MB / 474.7 MB Notification: Performance of Templates: time 0.02066/0.08175, allocations: 18.81 MB / 0.5074 GB, free: 14.97 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: 3.907464482821524]