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.001363/0.001363, allocations: 100.4 kB / 19.7 MB, free: 1.98 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.001469/0.001469, allocations: 217.7 kB / 22.99 MB, free: 4.922 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.616/1.616, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1454/0.1454, allocations: 23.88 MB / 337.1 MB, free: 11.05 MB / 270.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.00209/0.00209, allocations: 67.89 kB / 472.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4132, allocations: 59.87 MB / 0.5198 GB, free: 9.715 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.08399/0.4971, allocations: 32.66 MB / 0.5517 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01397/0.5111, allocations: 5.601 MB / 0.5571 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004599/0.5157, allocations: 43.75 kB / 0.5572 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005248/0.521, allocations: 1.254 MB / 0.5584 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005082/0.526, allocations: 0.9691 MB / 0.5593 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.5282, allocations: 431 kB / 0.5597 GB, free: 240 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006589/0.5348, allocations: 2.609 MB / 0.5623 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002003/0.5368, allocations: 1.003 MB / 0.5633 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.5388, allocations: 1.097 MB / 0.5643 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.5408, allocations: 1.298 MB / 0.5656 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004905/0.5413, allocations: 280 kB / 0.5659 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.5439, allocations: 0.7669 MB / 0.5666 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009324/0.5448, allocations: 0.8225 MB / 0.5674 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001755/0.5466, allocations: 1.325 MB / 0.5687 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008152/0.5547, allocations: 5.031 MB / 0.5736 GB, free: 2.602 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.5547, allocations: 3.984 kB / 0.5736 GB, free: 2.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.5547, allocations: 0 / 0.5736 GB, free: 2.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000126/0.5549, allocations: 0 / 0.5736 GB, free: 2.598 MB / 414.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.00667/0.5615, allocations: 3.807 MB / 0.5774 GB, free: 14.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.5616, allocations: 8.031 kB / 0.5774 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009201/0.5625, allocations: 494.1 kB / 0.5778 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.5651, allocations: 1.421 MB / 0.5792 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.5653, allocations: 238.8 kB / 0.5795 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004039/0.5658, allocations: 327.8 kB / 0.5798 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007589/0.5733, allocations: 4.712 MB / 0.5844 GB, free: 7.098 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.723e-05/0.5734, allocations: 27.81 kB / 0.5844 GB, free: 7.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.5737, allocations: 144 kB / 0.5845 GB, free: 6.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004159/0.5741, allocations: 349.8 kB / 0.5849 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006652/0.5807, allocations: 3.571 MB / 0.5884 GB, free: 3.016 MB / 430.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.02315/0.6039, allocations: 18.53 MB / 0.6064 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.6052, allocations: 0.7052 MB / 0.6071 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006922/0.6059, allocations: 472.4 kB / 0.6076 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003869/0.6063, allocations: 77.52 kB / 0.6077 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.6063, allocations: 50.48 kB / 0.6077 GB, free: 14.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.595e-06/0.6063, allocations: 0 / 0.6077 GB, free: 14.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002955/0.6093, allocations: 1.53 MB / 0.6092 GB, free: 12.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002134/0.6095, allocations: 298.6 kB / 0.6095 GB, free: 12.54 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.6117, allocations: 1.58 MB / 0.611 GB, free: 10.96 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/0.6118, allocations: 29.7 kB / 0.6111 GB, free: 10.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001576/0.6133, allocations: 1.785 MB / 0.6128 GB, free: 9.125 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.6135, allocations: 123 kB / 0.6129 GB, free: 9.004 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00032/0.6138, allocations: 162.6 kB / 0.6131 GB, free: 8.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.614, allocations: 337.9 kB / 0.6134 GB, free: 8.504 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007714/0.6148, allocations: 457.7 kB / 0.6138 GB, free: 8.055 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.616, allocations: 0.8486 MB / 0.6147 GB, free: 7.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/0.618, allocations: 1.356 MB / 0.616 GB, free: 5.473 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.618, allocations: 4 kB / 0.616 GB, free: 5.469 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002563/0.6205, allocations: 1.482 MB / 0.6174 GB, free: 3.973 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.6206, allocations: 12.94 kB / 0.6174 GB, free: 3.961 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.6206, allocations: 12 kB / 0.6175 GB, free: 3.949 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002747/0.6209, allocations: 61.69 kB / 0.6175 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005732/0.6214, allocations: 191.7 kB / 0.6177 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.6237, allocations: 2.552 MB / 0.6202 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007434/0.6245, allocations: 95.39 kB / 0.6203 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.6246, allocations: 63.98 kB / 0.6203 GB, free: 0.7812 MB / 462.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.001566/0.6262, allocations: 0.767 MB / 0.6211 GB, free: 4 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004468/0.6266, allocations: 159 kB / 0.6212 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.6284, allocations: 0.8772 MB / 0.6221 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.6284, allocations: 11.98 kB / 0.6221 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.6284, allocations: 7.938 kB / 0.6221 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.6284, allocations: 0 / 0.6221 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/0.6312, allocations: 1.487 MB / 0.6236 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6312, allocations: 4 kB / 0.6236 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.6315, allocations: 79.95 kB / 0.6237 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001809/0.6317, allocations: 45.62 kB / 0.6237 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.6317, allocations: 19.92 kB / 0.6237 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.6338, allocations: 2.52 MB / 0.6262 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.6338, allocations: 0 / 0.6262 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.6359, allocations: 1.838 MB / 0.628 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.6362, allocations: 154.8 kB / 0.6281 GB, free: 8.516 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.6363, allocations: 15.94 kB / 0.6281 GB, free: 8.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005975/0.6369, allocations: 15.98 kB / 0.6281 GB, free: 8.484 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.637, allocations: 43.81 kB / 0.6282 GB, free: 8.441 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.6371, allocations: 16 kB / 0.6282 GB, free: 8.426 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001778/0.6389, allocations: 1.299 MB / 0.6295 GB, free: 7.137 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6389, allocations: 0 / 0.6295 GB, free: 7.137 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0022/0.6411, allocations: 0.7465 MB / 0.6302 GB, free: 6.387 MB / 478.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.0003992/0.6415, allocations: 211.1 kB / 0.6304 GB, free: 6.172 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.6432, allocations: 1.043 MB / 0.6314 GB, free: 5.105 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6432, allocations: 0 / 0.6314 GB, free: 5.105 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007603/0.644, allocations: 0.5093 MB / 0.6319 GB, free: 4.57 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.6461, allocations: 332.2 kB / 0.6322 GB, free: 4.258 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009294/0.6554, allocations: 5.372 MB / 0.6375 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001901/0.6573, allocations: 1.45 MB / 0.6389 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003361/0.6577, allocations: 79.42 kB / 0.639 GB, free: 13.26 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6577, allocations: 3.938 kB / 0.639 GB, free: 13.25 MB / 494.1 MB Notification: Performance of Templates: time 0.07853/0.7362, allocations: 59.22 MB / 0.6968 GB, free: 2.016 MB / 0.5294 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: 11.803546915005427] Failed to read output from testmodel.py, exit status != 0: 0.7455428949906491 0.759665224 0.201865326 Calling exit ...