Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Boundaries.Tests.TestBoundaries.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.001283/0.001283, allocations: 81.86 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009482/0.0009482, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9153/0.9153, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.09905/0.09905, allocations: 17.38 MB / 277.6 MB, free: 11.49 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.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(Chemical.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_Chemical.Boundaries.Tests.TestBoundaries") translateModel(Chemical.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_Chemical.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 353.9 MB, free: 9.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.756e-05, allocations: 2.312 kB / 353.9 MB, free: 9.695 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Boundaries.Tests.TestBoundaries): time 0.02829/0.02831, allocations: 37.13 MB / 391 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008673/0.03698, allocations: 5.956 MB / 397 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.038, allocations: 43.75 kB / 397 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.04014, allocations: 1.257 MB / 398.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.04132, allocations: 1.019 MB / 399.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007692/0.04209, allocations: 434.5 kB / 399.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001842/0.04393, allocations: 2.762 MB / 402.5 MB, free: 9.152 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.04504, allocations: 0.9841 MB / 403.5 MB, free: 8.094 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009988/0.04603, allocations: 1.692 MB / 405.1 MB, free: 6.398 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000615/0.04665, allocations: 0.8684 MB / 406 MB, free: 5.527 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.04686, allocations: 287.9 kB / 406.3 MB, free: 5.246 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009661/0.04783, allocations: 0.7488 MB / 407 MB, free: 4.496 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000375/0.0482, allocations: 0.829 MB / 407.9 MB, free: 3.664 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006119/0.04881, allocations: 1.052 MB / 408.9 MB, free: 2.609 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1297/0.1785, allocations: 3.54 MB / 412.5 MB, free: 43.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1785, allocations: 0 / 412.5 MB, free: 43.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1785, allocations: 0.6562 kB / 412.5 MB, free: 43.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001424/0.1787, allocations: 0 / 412.5 MB, free: 43.66 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 918 * Number of variables: 918 Notification: Performance of Generate backend data structure: time 0.004102/0.1828, allocations: 4.118 MB / 416.6 MB, free: 41.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1828, allocations: 11.84 kB / 416.6 MB, free: 41.85 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000968/0.1838, allocations: 0.8491 MB / 417.4 MB, free: 41.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.1851, allocations: 1.366 MB / 418.8 MB, free: 41.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.1853, allocations: 245 kB / 419.1 MB, free: 41.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/0.1855, allocations: 313 kB / 419.4 MB, free: 41.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/0.1885, allocations: 3.252 MB / 422.6 MB, free: 39.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.781e-05/0.1886, allocations: 21.69 kB / 422.6 MB, free: 39.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.1888, allocations: 145.5 kB / 422.8 MB, free: 39.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002996/0.1891, allocations: 340.5 kB / 423.1 MB, free: 39.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.1907, allocations: 1.141 MB / 424.2 MB, free: 39.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009233/0.1999, allocations: 24.36 MB / 448.6 MB, free: 19.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.2003, allocations: 394 kB / 449 MB, free: 18.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.2004, allocations: 127.1 kB / 449.1 MB, free: 18.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.2006, allocations: 83.91 kB / 449.2 MB, free: 18.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.2006, allocations: 47.52 kB / 449.2 MB, free: 18.74 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.743e-06/0.2006, allocations: 0 / 449.2 MB, free: 18.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007864/0.2014, allocations: 489.3 kB / 449.7 MB, free: 18.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.2014, allocations: 291.3 kB / 450 MB, free: 18.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.2025, allocations: 1.547 MB / 451.5 MB, free: 17.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.2026, allocations: 33.8 kB / 451.6 MB, free: 17.69 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006465/0.2032, allocations: 1.933 MB / 453.5 MB, free: 16.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.2033, allocations: 111.8 kB / 453.6 MB, free: 16.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.2034, allocations: 175.8 kB / 453.8 MB, free: 15.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.294e-05/0.2035, allocations: 0.505 MB / 454.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.2036, allocations: 66.34 kB / 454.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.2038, allocations: 0.624 MB / 455 MB, free: 14.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/0.2043, allocations: 0.7807 MB / 455.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/0.2043, allocations: 3.094 kB / 455.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000675/0.205, allocations: 0.7316 MB / 456.5 MB, free: 13.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.205, allocations: 16.66 kB / 456.5 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.205, allocations: 16.22 kB / 456.5 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000129/0.2051, allocations: 58.38 kB / 456.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.2054, allocations: 183.5 kB / 456.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008165/0.2062, allocations: 3.451 MB / 460.2 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.2066, allocations: 94.11 kB / 460.3 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/0.2066, allocations: 52 kB / 460.4 MB, free: 9.863 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002717/0.2069, allocations: 217.4 kB / 460.6 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.207, allocations: 173.6 kB / 460.7 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005368/0.2076, allocations: 0.496 MB / 461.2 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2076, allocations: 4 kB / 461.2 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2076, allocations: 4 kB / 461.3 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.2076, allocations: 10.84 kB / 461.3 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.2088, allocations: 1.193 MB / 462.5 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.2088, allocations: 4 kB / 462.5 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.2089, allocations: 67.25 kB / 462.5 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.944e-05/0.209, allocations: 53.09 kB / 462.6 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.209, allocations: 18.06 kB / 462.6 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006547/0.2097, allocations: 3.427 MB / 466 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2097, allocations: 7.938 kB / 466 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005072/0.2102, allocations: 1.606 MB / 467.6 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.2103, allocations: 154.8 kB / 467.8 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.988e-05/0.2104, allocations: 11.98 kB / 467.8 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.2107, allocations: 12 kB / 467.8 MB, free: 2.418 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.2107, allocations: 46.06 kB / 467.9 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.2107, allocations: 12 kB / 467.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004638/0.2112, allocations: 0.8819 MB / 468.7 MB, free: 1.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2112, allocations: 0 / 468.7 MB, free: 1.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001086/0.2123, allocations: 0.7464 MB / 469.5 MB, free: 0.8203 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (boundary_fore.rear.n_flow,terminalInflow.u,terminalOutflow.u,boundary_fore2.rear.n_flow,terminalInflow1.u,terminalOutflow1.u,solution.temperature) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000233/0.2125, allocations: 228.7 kB / 469.7 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004146/0.2129, allocations: 0.6326 MB / 470.4 MB, free: 20 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2129, allocations: 0 / 470.4 MB, free: 20 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.2132, allocations: 444.3 kB / 470.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.2144, allocations: 341 kB / 471.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004817/0.2192, allocations: 4.723 MB / 475.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.2197, allocations: 0.5744 MB / 476.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003125/0.22, allocations: 146.1 kB / 476.6 MB, free: 9.949 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004545/0.2205, allocations: 342 kB / 476.9 MB, free: 9.613 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2205, allocations: 0 / 476.9 MB, free: 9.613 MB / 346.7 MB Notification: Performance of Templates: time 0.03134/0.2518, allocations: 20.68 MB / 497.6 MB, free: 6.242 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe ; mkfifo Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe >> ../files/Chemical_Chemical.Boundaries.Tests.TestBoundaries.sim & ./Chemical_Chemical.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3453879016451538]