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.0009854/0.0009854, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001026/0.001026, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 1.021/1.021, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.1065/0.1065, allocations: 17.39 MB / 277.6 MB, free: 11.51 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 2.174e-06/2.174e-06, allocations: 1.344 kB / 300.7 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.191e-05, allocations: 2.312 kB / 300.7 MB, free: 1.629 MB / 266.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.03824/0.03826, allocations: 42.97 MB / 343.6 MB, free: 9.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01187/0.05013, allocations: 6.2 MB / 349.8 MB, free: 3.203 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/0.05286, allocations: 43.75 kB / 349.9 MB, free: 3.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003159/0.05602, allocations: 1.323 MB / 351.2 MB, free: 1.828 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002441/0.05846, allocations: 1.019 MB / 352.2 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.05946, allocations: 434.6 kB / 352.6 MB, free: 384 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003541/0.063, allocations: 2.761 MB / 355.4 MB, free: 13.6 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.06411, allocations: 1.035 MB / 356.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.06592, allocations: 1.688 MB / 358.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.06704, allocations: 0.8723 MB / 359 MB, free: 9.898 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000333/0.06738, allocations: 280 kB / 359.3 MB, free: 9.625 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.06884, allocations: 0.7605 MB / 360 MB, free: 8.863 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000751/0.06959, allocations: 0.8367 MB / 360.9 MB, free: 8.023 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008787/0.07047, allocations: 1.04 MB / 361.9 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003044/0.07351, allocations: 3.549 MB / 365.5 MB, free: 3.418 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.07352, allocations: 0 / 365.5 MB, free: 3.418 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.07352, allocations: 0 / 365.5 MB, free: 3.418 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.83e-05/0.07357, allocations: 0 / 365.5 MB, free: 3.418 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.003845/0.07741, allocations: 3.749 MB / 369.2 MB, free: 15.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.07745, allocations: 8.031 kB / 369.2 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000745/0.0782, allocations: 0.6761 MB / 369.9 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.07952, allocations: 1.07 MB / 371 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.07967, allocations: 238.8 kB / 371.2 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/0.07993, allocations: 324.3 kB / 371.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003154/0.08309, allocations: 2.985 MB / 374.5 MB, free: 9.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.098e-05/0.08315, allocations: 19.81 kB / 374.5 MB, free: 9.855 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.08329, allocations: 144 kB / 374.6 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000251/0.08354, allocations: 345.8 kB / 375 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.0851, allocations: 1.267 MB / 376.3 MB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/0.09846, allocations: 16.71 MB / 393 MB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.09898, allocations: 472.6 kB / 393.4 MB, free: 6.164 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.09909, allocations: 92.75 kB / 393.5 MB, free: 6.043 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002203/0.09931, allocations: 81.52 kB / 393.6 MB, free: 5.961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.09934, allocations: 46.5 kB / 393.6 MB, free: 5.906 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.934e-06/0.09934, allocations: 0 / 393.6 MB, free: 5.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008245/0.1002, allocations: 335.1 kB / 394 MB, free: 5.566 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.394e-05/0.1003, allocations: 290.7 kB / 394.3 MB, free: 5.215 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009066/0.1012, allocations: 1.232 MB / 395.5 MB, free: 3.984 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.1012, allocations: 37.7 kB / 395.5 MB, free: 3.941 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008886/0.1021, allocations: 1.491 MB / 397 MB, free: 2.434 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.608e-05/0.1022, allocations: 119 kB / 397.1 MB, free: 2.316 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.1023, allocations: 150.5 kB / 397.3 MB, free: 2.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.23e-05/0.1024, allocations: 337.9 kB / 397.6 MB, free: 1.824 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.1025, allocations: 64.78 kB / 397.7 MB, free: 1.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.1028, allocations: 461.5 kB / 398.1 MB, free: 1.121 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/0.1033, allocations: 0.6139 MB / 398.7 MB, free: 320 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.1033, allocations: 4 kB / 398.7 MB, free: 316 kB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006689/0.104, allocations: 0.5602 MB / 399.3 MB, free: 15.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.104, allocations: 8.938 kB / 399.3 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.104, allocations: 16 kB / 399.3 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.1041, allocations: 53.69 kB / 399.4 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.1045, allocations: 195.7 kB / 399.6 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.1056, allocations: 2.356 MB / 401.9 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.106, allocations: 87.41 kB / 402 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.1061, allocations: 51.98 kB / 402.1 MB, free: 12.79 MB / 378.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.0004605/0.1065, allocations: 168.5 kB / 402.2 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.1067, allocations: 99.77 kB / 402.3 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/0.1073, allocations: 454.5 kB / 402.8 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1073, allocations: 4 kB / 402.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1073, allocations: 4 kB / 402.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.1073, allocations: 4 kB / 402.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.1089, allocations: 0.9972 MB / 403.8 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1089, allocations: 4 kB / 403.8 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.1091, allocations: 80.16 kB / 403.9 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.427e-05/0.1092, allocations: 45.73 kB / 403.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.1092, allocations: 8 kB / 403.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009329/0.1101, allocations: 2.328 MB / 406.2 MB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.1101, allocations: 8 kB / 406.2 MB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005995/0.1107, allocations: 1.228 MB / 407.5 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.1109, allocations: 151 kB / 407.6 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.53e-05/0.1109, allocations: 12 kB / 407.6 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.1113, allocations: 15.98 kB / 407.7 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.1113, allocations: 35.89 kB / 407.7 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.1113, allocations: 11.98 kB / 407.7 MB, free: 6.895 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004952/0.1118, allocations: 0.664 MB / 408.4 MB, free: 6.238 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1118, allocations: 4 kB / 408.4 MB, free: 6.234 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001534/0.1134, allocations: 0.7464 MB / 409.1 MB, free: 5.484 MB / 378.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.0003402/0.1137, allocations: 201.8 kB / 409.3 MB, free: 5.277 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005944/0.1143, allocations: 0.5192 MB / 409.8 MB, free: 4.734 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.286e-05/0.1143, allocations: 20.5 kB / 409.8 MB, free: 4.711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000506/0.1148, allocations: 314.7 kB / 410.2 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.116, allocations: 359.4 kB / 410.5 MB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00614/0.1222, allocations: 4.744 MB / 415.3 MB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/0.1227, allocations: 0.5706 MB / 415.8 MB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004845/0.1232, allocations: 151.2 kB / 416 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004676/0.1237, allocations: 293.1 kB / 416.3 MB, free: 14.17 MB / 394.7 MB Notification: Performance of SimCode: time 2.094e-06/0.1237, allocations: 0 / 416.3 MB, free: 14.17 MB / 394.7 MB Notification: Performance of Templates: time 0.03296/0.1566, allocations: 20.66 MB / 436.9 MB, free: 9.695 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6914092330262065]