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.0009159/0.0009159, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0008321/0.0008321, allocations: 215.9 kB / 23.01 MB, free: 3.109 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.8603/0.8603, allocations: 230.6 MB / 256.8 MB, free: 3.441 MB / 202.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-531:190: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-531:198: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.7444/0.7444, allocations: 203.8 MB / 0.5049 GB, free: 0.6836 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008391/0.0008391, allocations: 67.91 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5279/0.5287, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.04212/0.5709, allocations: 43.03 MB / 0.8611 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01737/0.5882, allocations: 11.19 MB / 0.872 GB, free: 2.703 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003525/0.5918, allocations: 69.78 kB / 0.8721 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.5946, allocations: 0.5729 MB / 0.8726 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006262/0.6008, allocations: 1.508 MB / 0.8741 GB, free: 1.32 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003993/0.6048, allocations: 1.359 MB / 0.8754 GB, free: 284 kB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005114/0.61, allocations: 2.716 MB / 0.8781 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.6116, allocations: 0.8538 MB / 0.8789 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/0.615, allocations: 1.267 MB / 0.8802 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.6167, allocations: 0.8383 MB / 0.881 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002855/0.617, allocations: 110.9 kB / 0.8811 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/0.6193, allocations: 0.8033 MB / 0.8819 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.6196, allocations: 277.6 kB / 0.8821 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0009505/0.6206, allocations: 0.6264 MB / 0.8828 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003819/0.6244, allocations: 1.948 MB / 0.8847 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.6244, allocations: 1.438 kB / 0.8847 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.096e-06/0.6244, allocations: 0 / 0.8847 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.835e-05/0.6244, allocations: 0 / 0.8847 GB, free: 10.39 MB / 0.6667 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.003105/0.6276, allocations: 1.499 MB / 0.8861 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.6276, allocations: 11.41 kB / 0.8861 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.6287, allocations: 330.8 kB / 0.8864 GB, free: 9.074 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.6305, allocations: 0.9057 MB / 0.8873 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.6305, allocations: 66.23 kB / 0.8874 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.6306, allocations: 80.44 kB / 0.8875 GB, free: 8.312 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.6322, allocations: 1.004 MB / 0.8885 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.6322, allocations: 0.9688 kB / 0.8885 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.365e-05/0.6323, allocations: 36.75 kB / 0.8885 GB, free: 7.617 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.6323, allocations: 22.88 kB / 0.8885 GB, free: 7.613 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.6338, allocations: 0.8237 MB / 0.8893 GB, free: 7.199 MB / 0.6667 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.004829/0.6386, allocations: 3.984 MB / 0.8932 GB, free: 3.742 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.6397, allocations: 0.5854 MB / 0.8938 GB, free: 3.43 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.6402, allocations: 305.4 kB / 0.8941 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004397/0.6407, allocations: 117.3 kB / 0.8942 GB, free: 3.223 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007461/0.6414, allocations: 437.2 kB / 0.8946 GB, free: 2.945 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=47): time 3.146e-06/0.6414, allocations: 0 / 0.8946 GB, free: 2.945 MB / 0.6667 GB Notification: Performance of matching and sorting (n=47): time 0.002053/0.6435, allocations: 0.9774 MB / 0.8956 GB, free: 2.445 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/0.6436, allocations: 113.3 kB / 0.8957 GB, free: 2.316 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.6447, allocations: 0.8966 MB / 0.8965 GB, free: 1.797 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.6448, allocations: 37.11 kB / 0.8966 GB, free: 1.758 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/0.6451, allocations: 491.8 kB / 0.897 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.6453, allocations: 171.6 kB / 0.8972 GB, free: 1.184 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.6455, allocations: 141.4 kB / 0.8973 GB, free: 1.094 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6456, allocations: 332.4 kB / 0.8977 GB, free: 0.7695 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005493/0.6461, allocations: 294.9 kB / 0.8979 GB, free: 0.6289 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00071/0.6469, allocations: 486.3 kB / 0.8984 GB, free: 260 kB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.6481, allocations: 0.7875 MB / 0.8992 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.6481, allocations: 1.156 kB / 0.8992 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001727/0.6498, allocations: 0.9245 MB / 0.9001 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/0.6498, allocations: 34.02 kB / 0.9001 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.6499, allocations: 9.469 kB / 0.9001 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.6499, allocations: 12.62 kB / 0.9001 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.6505, allocations: 202 kB / 0.9003 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.6505, allocations: 8.875 kB / 0.9003 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007373/0.6513, allocations: 129.3 kB / 0.9005 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.167e-05/0.6513, allocations: 34.3 kB / 0.9005 GB, free: 15.01 MB / 0.6823 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.0005085/0.6518, allocations: 279.5 kB / 0.9008 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.652, allocations: 106.2 kB / 0.9009 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.6536, allocations: 1.089 MB / 0.9019 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/0.6536, allocations: 15.94 kB / 0.9019 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6537, allocations: 0 / 0.9019 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.6537, allocations: 3.984 kB / 0.9019 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002737/0.6564, allocations: 2.161 MB / 0.904 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.6564, allocations: 0 / 0.904 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/0.6569, allocations: 151.7 kB / 0.9042 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.6569, allocations: 4 kB / 0.9042 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.6569, allocations: 15.98 kB / 0.9042 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.6569, allocations: 4.156 kB / 0.9042 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6569, allocations: 4 kB / 0.9042 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.6589, allocations: 1.494 MB / 0.9057 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004311/0.6594, allocations: 199.1 kB / 0.9059 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.226e-05/0.6594, allocations: 19.92 kB / 0.9059 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/0.6598, allocations: 67.98 kB / 0.9059 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.66, allocations: 48.34 kB / 0.906 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.66, allocations: 27.92 kB / 0.906 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007287/0.6607, allocations: 0.6304 MB / 0.9066 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6607, allocations: 4 kB / 0.9066 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001152/0.6619, allocations: 375.1 kB / 0.907 GB, free: 8.285 MB / 0.6823 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 (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.001433/0.6633, allocations: 0.711 MB / 0.9077 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.6648, allocations: 0.7834 MB / 0.9085 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.6648, allocations: 0 / 0.9085 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005936/0.6654, allocations: 386.6 kB / 0.9088 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.6668, allocations: 483.6 kB / 0.9093 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00468/0.6715, allocations: 2.434 MB / 0.9117 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.672, allocations: 1.045 MB / 0.9127 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.6723, allocations: 103.4 kB / 0.9128 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of SimCode: time 1.933e-06/0.6723, allocations: 0 / 0.9128 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of Templates: time 0.02337/0.6957, allocations: 19.39 MB / 0.9317 GB, free: 15.21 MB / 0.7136 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.606988696148619] Failed to read output from testmodel.py, exit status != 0: 0.701986514031887 0.710912385 0.084396893 Calling exit ...