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.0006844/0.0006844, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008992/0.001584, 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.0006699/0.0006699, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008562/0.001526, 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.9287/0.9287, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08785/1.017, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7202/0.7202, allocations: 154.6 MB / 398.8 MB, free: 396 kB / 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.2445/0.9646, allocations: 49.05 MB / 447.8 MB, free: 6.586 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 1.433e-06/1.433e-06, allocations: 1.094 kB / 449.1 MB, free: 5.281 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.558e-05, allocations: 2.312 kB / 449.2 MB, free: 5.277 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.01201/0.01203, allocations: 12.85 MB / 462 MB, free: 8.449 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009447/0.02148, allocations: 6.186 MB / 468.2 MB, free: 2.309 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/0.02322, allocations: 71.44 kB / 468.3 MB, free: 2.238 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007634/0.02399, allocations: 353.1 kB / 468.6 MB, free: 1.891 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.02614, allocations: 1.093 MB / 469.7 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.0282, allocations: 1.181 MB / 470.9 MB, free: 15.63 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002758/0.03095, allocations: 2.674 MB / 473.6 MB, free: 12.95 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.03271, allocations: 0.9103 MB / 474.5 MB, free: 12.03 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002112/0.03483, allocations: 1.418 MB / 475.9 MB, free: 10.63 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00098/0.03581, allocations: 0.6722 MB / 476.6 MB, free: 9.961 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.036, allocations: 112 kB / 476.7 MB, free: 9.852 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008822/0.03688, allocations: 428.1 kB / 477.1 MB, free: 9.434 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.03707, allocations: 219.2 kB / 477.3 MB, free: 9.219 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004509/0.03752, allocations: 361.5 kB / 477.6 MB, free: 8.867 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.03898, allocations: 1.055 MB / 478.7 MB, free: 7.809 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.259e-05/0.03899, allocations: 0 / 478.7 MB, free: 7.809 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.039, allocations: 0 / 478.7 MB, free: 7.809 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.784e-05/0.03903, allocations: 0 / 478.7 MB, free: 7.809 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.002056/0.04109, allocations: 1.654 MB / 480.4 MB, free: 6.121 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.04113, allocations: 12.03 kB / 480.4 MB, free: 6.109 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008286/0.04195, allocations: 372.4 kB / 480.7 MB, free: 5.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.04296, allocations: 0.657 MB / 481.4 MB, free: 5.047 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.043, allocations: 58.38 kB / 481.4 MB, free: 4.992 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.192e-05/0.04309, allocations: 84.73 kB / 481.5 MB, free: 4.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008846/0.04398, allocations: 0.8432 MB / 482.4 MB, free: 3.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.04399, allocations: 2.094 kB / 482.4 MB, free: 3.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/0.04404, allocations: 33.19 kB / 482.4 MB, free: 3.949 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.04406, allocations: 20 kB / 482.4 MB, free: 3.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.04446, allocations: 270.3 kB / 482.7 MB, free: 3.668 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.0028/0.04726, allocations: 2.585 MB / 485.3 MB, free: 1.008 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.04769, allocations: 311.5 kB / 485.6 MB, free: 0.6992 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.0478, allocations: 93.12 kB / 485.7 MB, free: 0.6055 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/0.04804, allocations: 89.12 kB / 485.8 MB, free: 0.5195 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003318/0.04837, allocations: 345.5 kB / 486.1 MB, free: 148 kB / 458.7 MB Notification: Performance of pre-optimization done (n=47): time 2.114e-06/0.04838, allocations: 0 / 486.1 MB, free: 148 kB / 458.7 MB Notification: Performance of matching and sorting (n=47): time 0.0005627/0.04894, allocations: 321.1 kB / 486.4 MB, free: 15.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.04899, allocations: 89.06 kB / 486.5 MB, free: 15.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005015/0.04949, allocations: 0.6262 MB / 487.1 MB, free: 15.08 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.04953, allocations: 37.7 kB / 487.2 MB, free: 15.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.04975, allocations: 407.8 kB / 487.6 MB, free: 14.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.04986, allocations: 174.5 kB / 487.7 MB, free: 14.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.04999, allocations: 126.2 kB / 487.9 MB, free: 14.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.083e-05/0.05008, allocations: 333.8 kB / 488.2 MB, free: 14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.05027, allocations: 126.9 kB / 488.3 MB, free: 13.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.05056, allocations: 442.5 kB / 488.7 MB, free: 13.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.05102, allocations: 462.9 kB / 489.2 MB, free: 12.81 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.05102, allocations: 4 kB / 489.2 MB, free: 12.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0005741/0.0516, allocations: 481.6 kB / 489.7 MB, free: 12.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.05164, allocations: 33.7 kB / 489.7 MB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.05165, allocations: 9.75 kB / 489.7 MB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.05167, allocations: 8 kB / 489.7 MB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/0.05221, allocations: 216.8 kB / 489.9 MB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.05222, allocations: 11.94 kB / 489.9 MB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003878/0.0526, allocations: 89.72 kB / 490 MB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.388e-05/0.05267, allocations: 27.98 kB / 490 MB, free: 11.93 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.0002083/0.05288, allocations: 161 kB / 490.2 MB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/0.05296, allocations: 67.92 kB / 490.3 MB, free: 11.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006753/0.05364, allocations: 0.5051 MB / 490.8 MB, free: 11.19 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.05365, allocations: 4.938 kB / 490.8 MB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.05365, allocations: 4.562 kB / 490.8 MB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.05366, allocations: 3.984 kB / 490.8 MB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.05491, allocations: 1.134 MB / 491.9 MB, free: 9.992 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.05492, allocations: 4 kB / 491.9 MB, free: 9.988 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.05538, allocations: 157 kB / 492.1 MB, free: 9.836 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.05559, allocations: 119.8 kB / 492.2 MB, free: 9.719 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.0556, allocations: 4.5 kB / 492.2 MB, free: 9.715 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.05563, allocations: 16.94 kB / 492.2 MB, free: 9.699 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.385e-06/0.05564, allocations: 7.984 kB / 492.2 MB, free: 9.691 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.05564, allocations: 0 / 492.2 MB, free: 9.691 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.05628, allocations: 0.6761 MB / 492.9 MB, free: 8.984 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.05634, allocations: 12.56 kB / 492.9 MB, free: 8.973 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.05661, allocations: 44.92 kB / 493 MB, free: 8.93 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.05669, allocations: 49.39 kB / 493 MB, free: 8.883 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.05672, allocations: 15.98 kB / 493 MB, free: 8.867 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002645/0.05699, allocations: 318.1 kB / 493.3 MB, free: 8.562 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.05699, allocations: 0 / 493.3 MB, free: 8.562 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007026/0.05769, allocations: 327.1 kB / 493.7 MB, free: 8.242 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.001597/0.05929, allocations: 0.7341 MB / 494.4 MB, free: 7.891 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000546/0.05983, allocations: 413 kB / 494.8 MB, free: 7.469 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.211e-05/0.05985, allocations: 12 kB / 494.8 MB, free: 7.457 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.0601, allocations: 198.5 kB / 495 MB, free: 7.258 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.06174, allocations: 2.451 MB / 497.4 MB, free: 4.387 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007605/0.06934, allocations: 1.811 MB / 499.3 MB, free: 2.527 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.06949, allocations: 179.5 kB / 499.4 MB, free: 2.332 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006163/0.07011, allocations: 167.6 kB / 499.6 MB, free: 2.195 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005775/0.07068, allocations: 319 kB / 499.9 MB, free: 1.883 MB / 474.7 MB Notification: Performance of SimCode: time 1.422e-06/0.07068, allocations: 0.875 kB / 499.9 MB, free: 1.883 MB / 474.7 MB Notification: Performance of Templates: time 0.02216/0.09284, allocations: 18.8 MB / 0.5065 GB, free: 15.62 MB / 0.4948 GB " [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: 3.9747210880741477]