Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.Tap.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.001075/0.001075, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001708/0.002783, 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.001085/0.001085, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001484/0.002568, 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 1.027/1.027, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08418/1.112, 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/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.7528/0.7528, allocations: 154.6 MB / 398.8 MB, free: 384 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.2834/1.036, allocations: 49.03 MB / 447.8 MB, free: 6.547 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.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.Tap") translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.Tap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 449.1 MB, free: 5.242 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.197e-05, allocations: 4.281 kB / 449.1 MB, free: 5.238 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.01251/0.01253, allocations: 11.37 MB / 460.5 MB, free: 9.906 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005279/0.01781, allocations: 3.568 MB / 464.1 MB, free: 6.371 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000979/0.01879, allocations: 55.5 kB / 464.1 MB, free: 6.316 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005924/0.01938, allocations: 317.3 kB / 464.4 MB, free: 6.004 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.02087, allocations: 0.8971 MB / 465.3 MB, free: 5.109 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.02234, allocations: 1.019 MB / 466.4 MB, free: 4.102 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002186/0.02453, allocations: 2.483 MB / 468.8 MB, free: 1.609 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009155/0.02544, allocations: 0.7076 MB / 469.5 MB, free: 0.8906 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.02687, allocations: 1.237 MB / 470.8 MB, free: 15.65 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00066/0.02753, allocations: 0.5585 MB / 471.3 MB, free: 15.09 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.02765, allocations: 82.25 kB / 471.4 MB, free: 15.01 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004833/0.02813, allocations: 243.6 kB / 471.7 MB, free: 14.77 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.0283, allocations: 203.2 kB / 471.9 MB, free: 14.57 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.02856, allocations: 291.4 kB / 472.1 MB, free: 14.29 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008257/0.02938, allocations: 0.7706 MB / 472.9 MB, free: 13.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.0294, allocations: 0 / 472.9 MB, free: 13.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.0294, allocations: 0.7188 kB / 472.9 MB, free: 13.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.02942, allocations: 0 / 472.9 MB, free: 13.52 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001352/0.03077, allocations: 1.439 MB / 474.4 MB, free: 12.04 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.0308, allocations: 8.031 kB / 474.4 MB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.03095, allocations: 129.4 kB / 474.5 MB, free: 11.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006958/0.03165, allocations: 0.6123 MB / 475.1 MB, free: 11.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.03169, allocations: 55 kB / 475.2 MB, free: 11.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/0.03176, allocations: 79.12 kB / 475.2 MB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006233/0.03238, allocations: 0.7154 MB / 475.9 MB, free: 10.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.03239, allocations: 4.812 kB / 476 MB, free: 10.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.03243, allocations: 28 kB / 476 MB, free: 10.31 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.03244, allocations: 20.78 kB / 476 MB, free: 10.29 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.03269, allocations: 213.9 kB / 476.2 MB, free: 10.08 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.03459, allocations: 2.644 MB / 478.9 MB, free: 7.359 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.03489, allocations: 221.8 kB / 479.1 MB, free: 7.141 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.01e-05/0.03497, allocations: 75.05 kB / 479.1 MB, free: 7.066 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.03508, allocations: 31.97 kB / 479.2 MB, free: 7.035 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.03532, allocations: 276.1 kB / 479.4 MB, free: 6.727 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 1.994e-06/0.03532, allocations: 1.312 kB / 479.4 MB, free: 6.727 MB / 458.7 MB Notification: Performance of matching and sorting (n=39): time 0.0003284/0.03565, allocations: 243.8 kB / 479.7 MB, free: 6.484 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.03568, allocations: 63.34 kB / 479.7 MB, free: 6.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.036, allocations: 0.5599 MB / 480.3 MB, free: 5.836 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.03603, allocations: 37.7 kB / 480.3 MB, free: 5.793 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.0362, allocations: 373.3 kB / 480.7 MB, free: 5.426 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.03626, allocations: 126.9 kB / 480.8 MB, free: 5.301 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.03638, allocations: 143.4 kB / 481 MB, free: 5.152 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.03648, allocations: 382.6 kB / 481.3 MB, free: 4.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.03658, allocations: 119.5 kB / 481.5 MB, free: 4.641 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.03686, allocations: 0.5995 MB / 482.1 MB, free: 3.879 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.03717, allocations: 438.8 kB / 482.5 MB, free: 3.367 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.03718, allocations: 4.5 kB / 482.5 MB, free: 3.363 MB / 458.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003827/0.03756, allocations: 465 kB / 482.9 MB, free: 2.883 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.03761, allocations: 61.75 kB / 483 MB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.03762, allocations: 7.938 kB / 483 MB, free: 2.805 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.03764, allocations: 12 kB / 483 MB, free: 2.793 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.03791, allocations: 159.8 kB / 483.2 MB, free: 2.637 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.03792, allocations: 15.92 kB / 483.2 MB, free: 2.621 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.03817, allocations: 81.2 kB / 483.3 MB, free: 2.543 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.03822, allocations: 31.98 kB / 483.3 MB, free: 2.512 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 13 (DHWDisCom1_Kh.local_reset,m_flow_set2.count,$PRE.m_flow_set2.count,m_flow_set2.T_start,$PRE.m_flow_set2.T_start,tap2.DHWCom,tap1.DHWCom,m_flow_set1.count,$PRE.m_flow_set1.count,m_flow_set1.T_start,$PRE.m_flow_set1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.000157/0.03838, allocations: 165 kB / 483.5 MB, free: 2.344 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.03843, allocations: 55.94 kB / 483.5 MB, free: 2.289 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007487/0.03918, allocations: 0.5776 MB / 484.1 MB, free: 1.707 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/0.03921, allocations: 8 kB / 484.1 MB, free: 1.699 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.03921, allocations: 0 / 484.1 MB, free: 1.699 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.03922, allocations: 3.984 kB / 484.1 MB, free: 1.695 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.04092, allocations: 1.066 MB / 485.2 MB, free: 0.5586 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.118e-06/0.04093, allocations: 4.562 kB / 485.2 MB, free: 0.5547 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.04125, allocations: 100.8 kB / 485.3 MB, free: 468 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.04147, allocations: 137.1 kB / 485.4 MB, free: 332 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.04148, allocations: 5.844 kB / 485.4 MB, free: 328 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-05/0.04155, allocations: 19.98 kB / 485.4 MB, free: 308 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.04156, allocations: 11.94 kB / 485.5 MB, free: 296 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.04156, allocations: 4 kB / 485.5 MB, free: 292 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006341/0.0422, allocations: 0.6597 MB / 486.1 MB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/0.04226, allocations: 16.72 kB / 486.1 MB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.04247, allocations: 45.14 kB / 486.2 MB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/0.04257, allocations: 72.33 kB / 486.2 MB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.0426, allocations: 19.98 kB / 486.3 MB, free: 15.41 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002035/0.0428, allocations: 262 kB / 486.5 MB, free: 15.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0428, allocations: 0 / 486.5 MB, free: 15.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006365/0.04344, allocations: 251.4 kB / 486.8 MB, free: 14.92 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (DHWDisCom1_Kh.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,m_flow_set1.T_start,m_flow_set1.count,tap1.DHWCom,tap2.DHWCom,m_flow_set2.T_start,m_flow_set2.count) * Number of discrete states: 2 (m_flow_set2.count,m_flow_set1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 4 * 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.0002959/0.04374, allocations: 177.7 kB / 486.9 MB, free: 14.74 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000464/0.0442, allocations: 472.3 kB / 487.4 MB, free: 14.25 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.915e-05/0.04422, allocations: 12 kB / 487.4 MB, free: 14.23 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.04447, allocations: 232.3 kB / 487.6 MB, free: 14.01 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.04568, allocations: 1.919 MB / 489.6 MB, free: 11.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005743/0.05142, allocations: 1.456 MB / 491 MB, free: 10.22 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.05154, allocations: 175.4 kB / 491.2 MB, free: 10.03 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003034/0.05184, allocations: 123.5 kB / 491.3 MB, free: 9.918 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/0.05227, allocations: 291 kB / 491.6 MB, free: 9.633 MB / 474.7 MB Notification: Performance of SimCode: time 8.12e-07/0.05227, allocations: 2.594 kB / 491.6 MB, free: 9.633 MB / 474.7 MB Notification: Performance of Templates: time 0.01705/0.06933, allocations: 15.34 MB / 0.4951 GB, free: 10.89 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.Tap.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.Tap.sim & ./IDEAS_IDEAS.Fluid.Taps.Examples.Tap -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.847550516948104]