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.001668/0.001668, allocations: 107.6 kB / 16.45 MB, free: 6.5 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.001992/0.001992, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.569/1.569, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] 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.1594/0.1594, allocations: 23.89 MB / 332.7 MB, free: 12.32 MB / 270.1 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: 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.002136/0.002136, allocations: 75.83 kB / 466.5 MB, free: 9.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4949/0.4971, allocations: 59.83 MB / 0.514 GB, free: 9.125 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:620:5-620: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:620:5-620: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.05858/0.5557, allocations: 34.75 MB / 0.548 GB, free: 6.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01652/0.5722, allocations: 6.133 MB / 0.554 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006489/0.5787, allocations: 47.69 kB / 0.554 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005824/0.5845, allocations: 1.292 MB / 0.5553 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005441/0.5899, allocations: 1.003 MB / 0.5562 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.5918, allocations: 438.7 kB / 0.5567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006044/0.5978, allocations: 2.654 MB / 0.5592 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/0.5996, allocations: 1.124 MB / 0.5603 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/0.6014, allocations: 1.143 MB / 0.5615 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.603, allocations: 1.29 MB / 0.5627 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003567/0.6033, allocations: 284 kB / 0.563 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003284/0.6066, allocations: 1.313 MB / 0.5643 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008575/0.6075, allocations: 0.8118 MB / 0.5651 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.6094, allocations: 1.776 MB / 0.5668 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007626/0.617, allocations: 5.138 MB / 0.5718 GB, free: 15.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.617, allocations: 0 / 0.5718 GB, free: 15.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.617, allocations: 0 / 0.5718 GB, free: 15.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.699e-05/0.6171, allocations: 0 / 0.5718 GB, free: 15.89 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.005974/0.623, allocations: 3.87 MB / 0.5756 GB, free: 11.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.6231, allocations: 12.03 kB / 0.5756 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008878/0.624, allocations: 486.1 kB / 0.5761 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.6264, allocations: 1.51 MB / 0.5775 GB, free: 9.906 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.6266, allocations: 238.8 kB / 0.5778 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003874/0.6269, allocations: 319.9 kB / 0.5781 GB, free: 9.359 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006932/0.6339, allocations: 4.673 MB / 0.5826 GB, free: 4.262 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-05/0.6339, allocations: 31.69 kB / 0.5827 GB, free: 4.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000255/0.6342, allocations: 136 kB / 0.5828 GB, free: 4.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004169/0.6346, allocations: 353.8 kB / 0.5831 GB, free: 3.754 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005501/0.6401, allocations: 3.485 MB / 0.5865 GB, free: 268 kB / 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.02848/0.6686, allocations: 21.33 MB / 0.6074 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.6701, allocations: 0.6974 MB / 0.6081 GB, free: 9.422 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007675/0.6709, allocations: 460.4 kB / 0.6085 GB, free: 8.941 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005166/0.6714, allocations: 150.7 kB / 0.6086 GB, free: 8.777 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.047e-05/0.6715, allocations: 50.48 kB / 0.6087 GB, free: 8.719 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 3.917e-06/0.6715, allocations: 0 / 0.6087 GB, free: 8.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003823/0.6753, allocations: 1.831 MB / 0.6105 GB, free: 6.836 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001995/0.6755, allocations: 286.7 kB / 0.6107 GB, free: 6.488 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008211/0.6837, allocations: 4.239 MB / 0.6149 GB, free: 2.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.903e-05/0.6838, allocations: 33.64 kB / 0.6149 GB, free: 2.191 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00194/0.6857, allocations: 1.767 MB / 0.6166 GB, free: 424 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.6859, allocations: 119 kB / 0.6168 GB, free: 304 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.6862, allocations: 154.6 kB / 0.6169 GB, free: 140 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.6864, allocations: 334 kB / 0.6172 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008106/0.6872, allocations: 453.7 kB / 0.6177 GB, free: 15.36 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.6883, allocations: 0.8561 MB / 0.6185 GB, free: 14.31 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.6903, allocations: 1.383 MB / 0.6198 GB, free: 12.72 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/0.6903, allocations: 4 kB / 0.6198 GB, free: 12.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00338/0.6937, allocations: 1.656 MB / 0.6215 GB, free: 11.05 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.6937, allocations: 12 kB / 0.6215 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.331e-05/0.6938, allocations: 16 kB / 0.6215 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003054/0.6941, allocations: 66.34 kB / 0.6216 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.6947, allocations: 199.7 kB / 0.6217 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/0.6973, allocations: 2.793 MB / 0.6245 GB, free: 7.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.6991, allocations: 360.6 kB / 0.6248 GB, free: 7.324 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.6993, allocations: 63.98 kB / 0.6249 GB, free: 7.262 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (90): * Single equations (assignments): 88 * 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.001636/0.7009, allocations: 0.7669 MB / 0.6256 GB, free: 6.484 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008141/0.7017, allocations: 361.5 kB / 0.626 GB, free: 6.129 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.7043, allocations: 1.035 MB / 0.627 GB, free: 5.074 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.7043, allocations: 4 kB / 0.627 GB, free: 5.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.7043, allocations: 4 kB / 0.627 GB, free: 5.066 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.7043, allocations: 4 kB / 0.627 GB, free: 5.062 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004821/0.7092, allocations: 2.212 MB / 0.6292 GB, free: 2.789 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.7092, allocations: 4 kB / 0.6292 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/0.7095, allocations: 75.89 kB / 0.6292 GB, free: 2.711 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001888/0.7097, allocations: 53.58 kB / 0.6293 GB, free: 2.652 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.7097, allocations: 15.98 kB / 0.6293 GB, free: 2.637 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002304/0.712, allocations: 2.769 MB / 0.632 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/0.7121, allocations: 8.062 kB / 0.632 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/0.7146, allocations: 1.985 MB / 0.6339 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/0.7159, allocations: 0.5259 MB / 0.6345 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002948/0.7162, allocations: 12 kB / 0.6345 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009125/0.7171, allocations: 19.98 kB / 0.6345 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.7172, allocations: 39.89 kB / 0.6345 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.7173, allocations: 16 kB / 0.6345 GB, free: 12.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005138/0.7224, allocations: 3.181 MB / 0.6377 GB, free: 9.742 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7224, allocations: 0 / 0.6377 GB, free: 9.742 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002313/0.7247, allocations: 0.5304 MB / 0.6382 GB, free: 9.211 MB / 494.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.0004646/0.7252, allocations: 219 kB / 0.6384 GB, free: 8.992 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.7272, allocations: 1.031 MB / 0.6394 GB, free: 7.938 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.7272, allocations: 0 / 0.6394 GB, free: 7.938 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007785/0.728, allocations: 497.3 kB / 0.6399 GB, free: 7.426 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003867/0.7318, allocations: 0.8069 MB / 0.6406 GB, free: 6.629 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009248/0.7411, allocations: 5.568 MB / 0.6461 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002066/0.7431, allocations: 2.007 MB / 0.648 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001398/0.7445, allocations: 400.8 kB / 0.6484 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/0.7449, allocations: 163.4 kB / 0.6486 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.224e-06/0.7449, allocations: 0 / 0.6486 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.0703/0.8152, allocations: 35.36 MB / 0.6831 GB, free: 11.17 MB / 0.5294 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.822390489280224] Failed to read output from testmodel.py, exit status != 0: 0.8254800159484148 0.840087634 0.21991846799999995 Calling exit ...