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.0008063/0.0008063, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009677/0.0009677, 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.9786/0.9786, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.781/0.781, allocations: 154.8 MB / 414.7 MB, free: 496 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.834e-06/1.834e-06, allocations: 0 / 0.5205 GB, free: 1.965 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.159e-05, allocations: 2.312 kB / 0.5205 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.0151/0.01513, allocations: 12.89 MB / 0.5331 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01333/0.02846, allocations: 6.028 MB / 0.539 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002796/0.03126, allocations: 75.38 kB / 0.5391 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.03283, allocations: 345.8 kB / 0.5394 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.03553, allocations: 1.094 MB / 0.5405 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.03766, allocations: 1.212 MB / 0.5417 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002756/0.04042, allocations: 2.673 MB / 0.5443 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.04158, allocations: 0.8766 MB / 0.5451 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.04347, allocations: 1.282 MB / 0.5464 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008733/0.04434, allocations: 0.6979 MB / 0.5471 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.04448, allocations: 108 kB / 0.5472 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007235/0.0452, allocations: 428.3 kB / 0.5476 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.0454, allocations: 290.8 kB / 0.5479 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003437/0.04574, allocations: 422.9 kB / 0.5483 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.04691, allocations: 1.159 MB / 0.5494 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.04692, allocations: 0 / 0.5494 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.924e-06/0.04692, allocations: 0 / 0.5494 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.04693, allocations: 0 / 0.5494 GB, free: 4.418 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.001539/0.04847, allocations: 1.54 MB / 0.5509 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.04851, allocations: 15.22 kB / 0.5509 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007511/0.04926, allocations: 340.6 kB / 0.5512 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.05035, allocations: 0.9295 MB / 0.5521 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.05039, allocations: 66.38 kB / 0.5522 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.05049, allocations: 79.94 kB / 0.5523 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.05156, allocations: 0.9144 MB / 0.5532 GB, free: 384 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.05158, allocations: 4.672 kB / 0.5532 GB, free: 380 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.035e-05/0.05163, allocations: 32 kB / 0.5532 GB, free: 348 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.05165, allocations: 20.5 kB / 0.5532 GB, free: 328 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005984/0.05225, allocations: 387.1 kB / 0.5536 GB, free: 15.94 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.00331/0.05556, allocations: 3.783 MB / 0.5573 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.0561, allocations: 334.8 kB / 0.5576 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.05629, allocations: 128.9 kB / 0.5577 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002624/0.05655, allocations: 77.83 kB / 0.5578 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004413/0.05699, allocations: 371.7 kB / 0.5582 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 1.893e-06/0.05699, allocations: 4 kB / 0.5582 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.0008847/0.05788, allocations: 493.5 kB / 0.5586 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.05794, allocations: 111.7 kB / 0.5587 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.05854, allocations: 0.6985 MB / 0.5594 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.05858, allocations: 38.33 kB / 0.5595 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/0.05888, allocations: 0.5417 MB / 0.56 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.05899, allocations: 172.1 kB / 0.5602 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.05915, allocations: 139.9 kB / 0.5603 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.0593, allocations: 0.5042 MB / 0.5608 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.05951, allocations: 133.3 kB / 0.5609 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.05989, allocations: 0.513 MB / 0.5614 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005095/0.0604, allocations: 0.5008 MB / 0.5619 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.0604, allocations: 0 / 0.5619 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000744/0.06114, allocations: 0.6074 MB / 0.5625 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.06118, allocations: 37.69 kB / 0.5625 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.06118, allocations: 4 kB / 0.5625 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.0612, allocations: 8 kB / 0.5625 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004759/0.06168, allocations: 195.8 kB / 0.5627 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.06169, allocations: 11.94 kB / 0.5627 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.062, allocations: 79.58 kB / 0.5628 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.06205, allocations: 43.92 kB / 0.5629 GB, free: 5.965 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.0001854/0.06224, allocations: 192.4 kB / 0.563 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.06234, allocations: 103.9 kB / 0.5631 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008576/0.0632, allocations: 0.6375 MB / 0.5638 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.06321, allocations: 7.984 kB / 0.5638 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.06321, allocations: 4 kB / 0.5638 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.06322, allocations: 4 kB / 0.5638 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.06472, allocations: 1.485 MB / 0.5652 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.06472, allocations: 0.75 kB / 0.5652 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.06509, allocations: 137.9 kB / 0.5654 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.06509, allocations: 7.938 kB / 0.5654 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.06512, allocations: 19.92 kB / 0.5654 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.06513, allocations: 4 kB / 0.5654 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.06513, allocations: 10.36 kB / 0.5654 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008626/0.06599, allocations: 0.8614 MB / 0.5662 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.0662, allocations: 167.2 kB / 0.5664 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.06627, allocations: 25.06 kB / 0.5664 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.06654, allocations: 43.95 kB / 0.5665 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/0.06662, allocations: 41.89 kB / 0.5665 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.06665, allocations: 19.98 kB / 0.5665 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003651/0.06702, allocations: 454.9 kB / 0.567 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.06702, allocations: 4.625 kB / 0.567 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006113/0.06763, allocations: 331.2 kB / 0.5673 GB, free: 1.332 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.001136/0.06877, allocations: 0.5433 MB / 0.5678 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005711/0.06934, allocations: 468.5 kB / 0.5683 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.06934, allocations: 4 kB / 0.5683 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.06958, allocations: 192.7 kB / 0.5684 GB, free: 328 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009477/0.07053, allocations: 386.9 kB / 0.5688 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.07381, allocations: 1.857 MB / 0.5706 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.07393, allocations: 187.5 kB / 0.5708 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003754/0.07431, allocations: 182.2 kB / 0.571 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.07447, allocations: 84.45 kB / 0.5711 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of SimCode: time 7.01e-07/0.07448, allocations: 0 / 0.5711 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.01849/0.09296, allocations: 16.28 MB / 0.587 GB, free: 13.68 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.223062613978982]