Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0009648/0.0009648, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001531/0.001531, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9757/0.9757, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.08873/0.08873, allocations: 17.47 MB / 278.5 MB, free: 11.39 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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(Chemical.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Boundaries.Tests.TestBoundaries") translateModel(Chemical.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 354.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.521e-05, allocations: 5.688 kB / 354.8 MB, free: 10.61 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:621:5-621: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 master/Boundaries.mo:621:5-621: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.036/0.03602, allocations: 37.6 MB / 392.4 MB, free: 5.062 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.04696, allocations: 6.334 MB / 398.7 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.04879, allocations: 51.62 kB / 398.8 MB, free: 14.65 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002951/0.05174, allocations: 1.327 MB / 400.1 MB, free: 13.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002523/0.05427, allocations: 1.244 MB / 401.3 MB, free: 12.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000959/0.05523, allocations: 478.3 kB / 401.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002973/0.0582, allocations: 3.035 MB / 404.8 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.05936, allocations: 0.9923 MB / 405.8 MB, free: 7.477 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.06096, allocations: 1.844 MB / 407.7 MB, free: 5.629 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.06215, allocations: 0.9697 MB / 408.7 MB, free: 4.656 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002691/0.06242, allocations: 284 kB / 408.9 MB, free: 4.379 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.06382, allocations: 0.8538 MB / 409.8 MB, free: 3.523 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006273/0.06445, allocations: 0.9186 MB / 410.7 MB, free: 2.602 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009961/0.06544, allocations: 1.118 MB / 411.8 MB, free: 1.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003461/0.06891, allocations: 3.712 MB / 415.5 MB, free: 13.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.06891, allocations: 4 kB / 415.5 MB, free: 13.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.06891, allocations: 0 / 415.5 MB, free: 13.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.26e-05/0.06893, allocations: 0 / 415.5 MB, free: 13.75 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.004268/0.0732, allocations: 4.23 MB / 419.8 MB, free: 9.457 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.07323, allocations: 8.031 kB / 419.8 MB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008213/0.07405, allocations: 0.8847 MB / 420.7 MB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.0752, allocations: 1.376 MB / 422 MB, free: 7.148 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.07532, allocations: 242.9 kB / 422.3 MB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/0.07554, allocations: 320.4 kB / 422.6 MB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/0.07825, allocations: 3.321 MB / 425.9 MB, free: 2.688 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.134e-05/0.07832, allocations: 19.81 kB / 425.9 MB, free: 2.668 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.07846, allocations: 144 kB / 426.1 MB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002236/0.07868, allocations: 345.8 kB / 426.4 MB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.0798, allocations: 1.141 MB / 427.5 MB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1723/0.2521, allocations: 24.8 MB / 452.3 MB, free: 80.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/0.2525, allocations: 399.6 kB / 452.7 MB, free: 80.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.2526, allocations: 133.8 kB / 452.9 MB, free: 80.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/0.2528, allocations: 71.84 kB / 452.9 MB, free: 80.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.2528, allocations: 46.45 kB / 453 MB, free: 80.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.667e-06/0.2528, allocations: 0.5 kB / 453 MB, free: 80.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008863/0.2537, allocations: 498.2 kB / 453.5 MB, free: 80.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.2538, allocations: 292.5 kB / 453.8 MB, free: 79.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009549/0.2547, allocations: 1.568 MB / 455.3 MB, free: 79.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.2547, allocations: 35.94 kB / 455.4 MB, free: 79.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006965/0.2554, allocations: 1.951 MB / 457.3 MB, free: 78.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/0.2555, allocations: 125.4 kB / 457.4 MB, free: 78.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.2557, allocations: 179.1 kB / 457.6 MB, free: 78.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.2557, allocations: 0.504 MB / 458.1 MB, free: 78.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.2558, allocations: 70.09 kB / 458.2 MB, free: 78.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.2561, allocations: 0.6946 MB / 458.9 MB, free: 77.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/0.2566, allocations: 0.8511 MB / 459.7 MB, free: 76.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.2566, allocations: 7.25 kB / 459.7 MB, free: 76.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0007374/0.2573, allocations: 0.7844 MB / 460.5 MB, free: 76.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2574, allocations: 12.81 kB / 460.5 MB, free: 76.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.2574, allocations: 16.38 kB / 460.5 MB, free: 76.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.2575, allocations: 60.66 kB / 460.6 MB, free: 76.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.2578, allocations: 199 kB / 460.8 MB, free: 76.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000913/0.2587, allocations: 3.458 MB / 464.3 MB, free: 73.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.2591, allocations: 97.44 kB / 464.3 MB, free: 73.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/0.2591, allocations: 58.88 kB / 464.4 MB, free: 73.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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 (93): * Single equations (assignments): 91 * 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.0004103/0.2595, allocations: 224.2 kB / 464.6 MB, free: 72.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/0.2597, allocations: 187.2 kB / 464.8 MB, free: 72.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006164/0.2604, allocations: 0.4998 MB / 465.3 MB, free: 72.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2604, allocations: 6.438 kB / 465.3 MB, free: 72.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2604, allocations: 3.094 kB / 465.3 MB, free: 72.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2604, allocations: 7.094 kB / 465.3 MB, free: 72.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.2617, allocations: 1.187 MB / 466.5 MB, free: 72.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2617, allocations: 3.281 kB / 466.5 MB, free: 72.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.2618, allocations: 72.16 kB / 466.6 MB, free: 72.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.793e-05/0.2619, allocations: 50.45 kB / 466.6 MB, free: 72.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.2619, allocations: 17.7 kB / 466.6 MB, free: 72.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007481/0.2627, allocations: 3.428 MB / 470.1 MB, free: 69.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2627, allocations: 3.281 kB / 470.1 MB, free: 69.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005767/0.2633, allocations: 1.627 MB / 471.7 MB, free: 67.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.2634, allocations: 156.8 kB / 471.9 MB, free: 67.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.614e-05/0.2635, allocations: 7.688 kB / 471.9 MB, free: 67.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.2638, allocations: 18.52 kB / 471.9 MB, free: 67.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.2639, allocations: 41.62 kB / 471.9 MB, free: 67.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.2639, allocations: 11.03 kB / 471.9 MB, free: 67.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005268/0.2644, allocations: 0.8902 MB / 472.8 MB, free: 67.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2644, allocations: 0 / 472.8 MB, free: 67.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001582/0.266, allocations: 0.7883 MB / 473.6 MB, free: 67.45 MB / 410.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.000282/0.2663, allocations: 226 kB / 473.8 MB, free: 67.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005397/0.2668, allocations: 0.6614 MB / 474.5 MB, free: 67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2668, allocations: 0 / 474.5 MB, free: 67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.267, allocations: 440.7 kB / 474.9 MB, free: 66.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.2682, allocations: 341.8 kB / 475.3 MB, free: 66.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.2725, allocations: 4.771 MB / 480 MB, free: 64.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.2729, allocations: 0.5764 MB / 480.6 MB, free: 64.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003309/0.2733, allocations: 159.3 kB / 480.8 MB, free: 64.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004389/0.2737, allocations: 348.5 kB / 481.1 MB, free: 64.19 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.2737, allocations: 0 / 481.1 MB, free: 64.19 MB / 410.7 MB Notification: Performance of Templates: time 0.03076/0.3045, allocations: 21.04 MB / 0.4904 GB, free: 62.29 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe ; mkfifo Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe >> ../files/Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.sim & ./Chemical_master_Chemical.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6516019171103835]