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.001079/0.001079, allocations: 92.22 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.001755/0.001755, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.026/1.026, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7613/0.7613, allocations: 154.9 MB / 414.8 MB, free: 404 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.433e-06/1.433e-06, allocations: 0 / 0.5207 GB, free: 1.844 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.481e-05, allocations: 4 kB / 0.5207 GB, free: 1.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.01814/0.01816, allocations: 12.9 MB / 0.5333 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007615/0.02578, allocations: 6.022 MB / 0.5391 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.02691, allocations: 67.44 kB / 0.5392 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008414/0.02775, allocations: 348.9 kB / 0.5395 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.02989, allocations: 1.099 MB / 0.5406 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.03165, allocations: 1.211 MB / 0.5418 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00231/0.03396, allocations: 2.674 MB / 0.5444 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.03504, allocations: 0.88 MB / 0.5453 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.03688, allocations: 1.342 MB / 0.5466 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008527/0.03773, allocations: 0.6905 MB / 0.5473 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004142/0.03815, allocations: 108 kB / 0.5474 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007093/0.03885, allocations: 420.8 kB / 0.5478 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.03906, allocations: 282.8 kB / 0.548 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004031/0.03946, allocations: 430.9 kB / 0.5484 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.0409, allocations: 1.137 MB / 0.5495 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.0409, allocations: 1.344 kB / 0.5495 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.733e-06/0.0409, allocations: 0 / 0.5495 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.085e-05/0.04092, allocations: 0 / 0.5495 GB, free: 4.258 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.001735/0.04266, allocations: 1.534 MB / 0.551 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.0427, allocations: 8.031 kB / 0.5511 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008446/0.04354, allocations: 342.8 kB / 0.5514 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009546/0.0445, allocations: 0.8527 MB / 0.5522 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.04454, allocations: 66.31 kB / 0.5523 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.437e-05/0.04462, allocations: 83.94 kB / 0.5524 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.04566, allocations: 0.9119 MB / 0.5532 GB, free: 312 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.04568, allocations: 7.938 kB / 0.5533 GB, free: 304 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.837e-05/0.04573, allocations: 32 kB / 0.5533 GB, free: 272 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.04575, allocations: 23.94 kB / 0.5533 GB, free: 248 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005985/0.04634, allocations: 378 kB / 0.5537 GB, free: 15.88 MB / 0.5261 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.003155/0.0495, allocations: 3.8 MB / 0.5574 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006492/0.05015, allocations: 333.5 kB / 0.5577 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.05032, allocations: 128.9 kB / 0.5578 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/0.05056, allocations: 77.78 kB / 0.5579 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003749/0.05093, allocations: 371.4 kB / 0.5583 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 1.863e-06/0.05094, allocations: 0 / 0.5583 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.000806/0.05174, allocations: 494.5 kB / 0.5587 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.0518, allocations: 107.3 kB / 0.5588 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000582/0.05238, allocations: 0.7024 MB / 0.5595 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.05242, allocations: 34.2 kB / 0.5595 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/0.0527, allocations: 0.5482 MB / 0.5601 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.0528, allocations: 166.6 kB / 0.5602 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.05295, allocations: 143.9 kB / 0.5604 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.05307, allocations: 0.5042 MB / 0.5609 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.05328, allocations: 130.9 kB / 0.561 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005815/0.05386, allocations: 0.5052 MB / 0.5615 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.05435, allocations: 0.5018 MB / 0.562 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.05436, allocations: 4.688 kB / 0.562 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000748/0.05511, allocations: 0.6064 MB / 0.5626 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.05514, allocations: 36.36 kB / 0.5626 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.05515, allocations: 13.47 kB / 0.5626 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.05516, allocations: 8 kB / 0.5626 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.05565, allocations: 189.8 kB / 0.5628 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.05566, allocations: 11.94 kB / 0.5628 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.05598, allocations: 91.45 kB / 0.5629 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.05603, allocations: 40.55 kB / 0.5629 GB, free: 5.887 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.0001868/0.05621, allocations: 193.4 kB / 0.5631 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.05632, allocations: 107.4 kB / 0.5632 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008616/0.05718, allocations: 0.6326 MB / 0.5638 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.05719, allocations: 9.25 kB / 0.5639 GB, free: 4.941 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.0572, allocations: 4 kB / 0.5639 GB, free: 4.938 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.05721, allocations: 3.984 kB / 0.5639 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.05876, allocations: 1.482 MB / 0.5653 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.05876, allocations: 4 kB / 0.5653 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/0.05914, allocations: 133.6 kB / 0.5654 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.05914, allocations: 3.938 kB / 0.5654 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.05918, allocations: 19.98 kB / 0.5655 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.05919, allocations: 7.938 kB / 0.5655 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.05919, allocations: 1.906 kB / 0.5655 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00086/0.06005, allocations: 0.8614 MB / 0.5663 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.06026, allocations: 172 kB / 0.5665 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.072e-05/0.06033, allocations: 19.94 kB / 0.5665 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.0606, allocations: 41.36 kB / 0.5665 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.121e-05/0.06069, allocations: 44.41 kB / 0.5666 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.06072, allocations: 25.83 kB / 0.5666 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003734/0.0611, allocations: 458.9 kB / 0.567 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.0611, allocations: 0 / 0.567 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006539/0.06175, allocations: 331.1 kB / 0.5674 GB, free: 1.254 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.001133/0.06288, allocations: 0.5433 MB / 0.5679 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008556/0.06374, allocations: 471.7 kB / 0.5683 GB, free: 452 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.06374, allocations: 0 / 0.5683 GB, free: 452 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.06398, allocations: 197.3 kB / 0.5685 GB, free: 248 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009385/0.06492, allocations: 380.7 kB / 0.5689 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003263/0.06818, allocations: 1.855 MB / 0.5707 GB, free: 14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.0683, allocations: 183.5 kB / 0.5709 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004196/0.06872, allocations: 190.2 kB / 0.5711 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.06889, allocations: 84.45 kB / 0.5711 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of SimCode: time 1.012e-06/0.06889, allocations: 0 / 0.5711 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of Templates: time 0.02105/0.08994, allocations: 18.1 MB / 0.5888 GB, free: 11.8 MB / 0.5573 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.396636154036969]