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.001848/0.001848, allocations: 111.5 kB / 17.13 MB, free: 6.008 MB / 14.72 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.001574/0.001574, allocations: 213.8 kB / 20.1 MB, free: 3.055 MB / 14.72 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.527/1.527, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.1543/0.1543, allocations: 23.86 MB / 333.4 MB, free: 1.223 MB / 254.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 60.56 kB / 467.1 MB, free: 30.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1262, allocations: 59.83 MB / 0.5146 GB, free: 12.47 MB / 382.1 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.04766/0.1739, allocations: 34.52 MB / 0.5483 GB, free: 9.965 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01267/0.1865, allocations: 6.201 MB / 0.5544 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00315/0.1897, allocations: 43.75 kB / 0.5544 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004339/0.194, allocations: 1.363 MB / 0.5558 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004512/0.1985, allocations: 0.9649 MB / 0.5567 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.2004, allocations: 434.7 kB / 0.5571 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005268/0.2057, allocations: 2.619 MB / 0.5597 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.2073, allocations: 1.124 MB / 0.5608 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.2087, allocations: 1.097 MB / 0.5619 GB, free: 12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.2102, allocations: 1.299 MB / 0.5631 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003406/0.2105, allocations: 284 kB / 0.5634 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.2133, allocations: 1.342 MB / 0.5647 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007048/0.214, allocations: 0.8135 MB / 0.5655 GB, free: 8.254 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.2157, allocations: 1.787 MB / 0.5672 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00705/0.2228, allocations: 5.179 MB / 0.5723 GB, free: 1.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.2228, allocations: 4 kB / 0.5723 GB, free: 1.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2228, allocations: 0 / 0.5723 GB, free: 1.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001043/0.2229, allocations: 0 / 0.5723 GB, free: 1.254 MB / 430.1 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.006075/0.229, allocations: 3.874 MB / 0.5761 GB, free: 13.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.229, allocations: 12.03 kB / 0.5761 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008985/0.2299, allocations: 494.1 kB / 0.5766 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.2325, allocations: 1.49 MB / 0.578 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/0.2327, allocations: 250.4 kB / 0.5783 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004055/0.2331, allocations: 319.9 kB / 0.5786 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007502/0.2406, allocations: 4.658 MB / 0.5831 GB, free: 5.629 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.96e-05/0.2407, allocations: 19.81 kB / 0.5831 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003253/0.241, allocations: 144 kB / 0.5833 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005152/0.2415, allocations: 345.8 kB / 0.5836 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007005/0.2485, allocations: 3.489 MB / 0.587 GB, free: 1.637 MB / 446.1 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.3885/0.6371, allocations: 21.36 MB / 0.6079 GB, free: 46.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.6383, allocations: 0.6944 MB / 0.6085 GB, free: 46.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006622/0.639, allocations: 465.7 kB / 0.609 GB, free: 46.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004463/0.6394, allocations: 160.2 kB / 0.6091 GB, free: 46.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.6395, allocations: 47.72 kB / 0.6092 GB, free: 45.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.605e-06/0.6395, allocations: 0 / 0.6092 GB, free: 45.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.00368/0.6431, allocations: 1.843 MB / 0.611 GB, free: 45.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/0.6432, allocations: 291.3 kB / 0.6113 GB, free: 44.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006453/0.6497, allocations: 4.313 MB / 0.6155 GB, free: 43.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.683e-05/0.6498, allocations: 37.86 kB / 0.6155 GB, free: 43.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001191/0.651, allocations: 1.745 MB / 0.6172 GB, free: 41.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.6511, allocations: 121.4 kB / 0.6173 GB, free: 41.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.6513, allocations: 155.4 kB / 0.6175 GB, free: 41.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.459e-05/0.6514, allocations: 331.7 kB / 0.6178 GB, free: 41.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007738/0.6522, allocations: 455.1 kB / 0.6182 GB, free: 40.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008238/0.653, allocations: 0.8351 MB / 0.619 GB, free: 40.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.6545, allocations: 1.33 MB / 0.6203 GB, free: 39.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.6545, allocations: 4.125 kB / 0.6204 GB, free: 39.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002812/0.6573, allocations: 1.659 MB / 0.622 GB, free: 38.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.6573, allocations: 13.44 kB / 0.622 GB, free: 38.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.6574, allocations: 17.86 kB / 0.622 GB, free: 38.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/0.6576, allocations: 54.3 kB / 0.6221 GB, free: 38.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000561/0.6582, allocations: 195.3 kB / 0.6222 GB, free: 38.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.6596, allocations: 2.795 MB / 0.625 GB, free: 35.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.6613, allocations: 363 kB / 0.6253 GB, free: 35.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.6614, allocations: 64.61 kB / 0.6254 GB, free: 35.11 MB / 446.1 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.001274/0.6627, allocations: 0.7592 MB / 0.6261 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000571/0.6632, allocations: 360.7 kB / 0.6265 GB, free: 34.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.665, allocations: 1.046 MB / 0.6275 GB, free: 33.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.665, allocations: 7.875 kB / 0.6275 GB, free: 33.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.665, allocations: 6.094 kB / 0.6275 GB, free: 33.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.6651, allocations: 7.922 kB / 0.6275 GB, free: 33.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/0.668, allocations: 2.215 MB / 0.6297 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.668, allocations: 3.938 kB / 0.6297 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.6683, allocations: 74.33 kB / 0.6297 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001592/0.6685, allocations: 56.08 kB / 0.6298 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.6685, allocations: 10.25 kB / 0.6298 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.6697, allocations: 2.77 MB / 0.6325 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.6697, allocations: 8.438 kB / 0.6325 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.6713, allocations: 1.993 MB / 0.6345 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008115/0.6721, allocations: 0.5385 MB / 0.635 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003088/0.6725, allocations: 18.02 kB / 0.635 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008964/0.6734, allocations: 19.73 kB / 0.635 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.996e-05/0.6735, allocations: 40.55 kB / 0.6351 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.6735, allocations: 15.34 kB / 0.6351 GB, free: 27.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003814/0.6773, allocations: 3.24 MB / 0.6382 GB, free: 25.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6773, allocations: 0 / 0.6382 GB, free: 25.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001793/0.6791, allocations: 0.5235 MB / 0.6388 GB, free: 25.59 MB / 446.1 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.00035/0.6794, allocations: 226.7 kB / 0.639 GB, free: 25.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.6809, allocations: 1.012 MB / 0.64 GB, free: 24.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6809, allocations: 0 / 0.64 GB, free: 24.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005732/0.6815, allocations: 0.5015 MB / 0.6405 GB, free: 24.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003618/0.6851, allocations: 0.809 MB / 0.6412 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006741/0.6918, allocations: 5.747 MB / 0.6469 GB, free: 18.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.6931, allocations: 2.001 MB / 0.6488 GB, free: 16.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005151/0.6936, allocations: 171.4 kB / 0.649 GB, free: 16.41 MB / 446.1 MB Notification: Performance of SimCode: time 1.954e-06/0.6936, allocations: 0 / 0.649 GB, free: 16.41 MB / 446.1 MB Notification: Performance of Templates: time 0.09206/0.7856, allocations: 71.21 MB / 0.7185 GB, free: 9.816 MB / 0.4981 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.367545175977284] Failed to read output from testmodel.py, exit status != 0: 0.7935450550285168 0.806553829 0.580901282 Calling exit ...