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.001281/0.001281, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001377/0.001377, allocations: 209.3 kB / 23 MB, free: 4.934 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.1324/0.1324, allocations: 23.92 MB / 337.1 MB, free: 10.95 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.002039/0.002039, allocations: 63.91 kB / 472.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2797, allocations: 59.89 MB / 0.5198 GB, free: 9.711 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.07682/0.3566, allocations: 32.56 MB / 0.5516 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.3679, allocations: 5.54 MB / 0.5571 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.3692, allocations: 51.69 kB / 0.5571 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003141/0.3723, allocations: 1.199 MB / 0.5583 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.3745, allocations: 1.006 MB / 0.5593 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009954/0.3755, allocations: 430.4 kB / 0.5597 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00328/0.3787, allocations: 2.66 MB / 0.5623 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.3801, allocations: 1.007 MB / 0.5632 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.3813, allocations: 1.142 MB / 0.5644 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.3826, allocations: 1.297 MB / 0.5656 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003385/0.383, allocations: 284 kB / 0.5659 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.3845, allocations: 0.7408 MB / 0.5666 GB, free: 9.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006785/0.3852, allocations: 0.8179 MB / 0.5674 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.3864, allocations: 1.317 MB / 0.5687 GB, free: 7.688 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00509/0.3915, allocations: 4.988 MB / 0.5736 GB, free: 2.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3915, allocations: 0 / 0.5736 GB, free: 2.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3915, allocations: 0 / 0.5736 GB, free: 2.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.691e-05/0.3915, allocations: 0 / 0.5736 GB, free: 2.68 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.004819/0.3963, allocations: 3.791 MB / 0.5773 GB, free: 14.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3964, allocations: 12.03 kB / 0.5773 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007591/0.3971, allocations: 498.1 kB / 0.5778 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/0.3994, allocations: 1.436 MB / 0.5792 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.3996, allocations: 242.7 kB / 0.5794 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003854/0.4, allocations: 315.9 kB / 0.5797 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00645/0.4064, allocations: 4.704 MB / 0.5843 GB, free: 7.188 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.587e-05/0.4065, allocations: 19.81 kB / 0.5843 GB, free: 7.168 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/0.4067, allocations: 144 kB / 0.5845 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003832/0.4071, allocations: 357.8 kB / 0.5848 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005068/0.4122, allocations: 3.567 MB / 0.5883 GB, free: 3.105 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.018/0.4302, allocations: 18.51 MB / 0.6064 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.4313, allocations: 0.7129 MB / 0.6071 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006502/0.432, allocations: 464.5 kB / 0.6075 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004027/0.4324, allocations: 89.5 kB / 0.6076 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.4324, allocations: 46.5 kB / 0.6076 GB, free: 14.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 3.086e-06/0.4324, allocations: 0 / 0.6076 GB, free: 14.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002775/0.4352, allocations: 1.525 MB / 0.6091 GB, free: 13 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.4354, allocations: 286.7 kB / 0.6094 GB, free: 12.65 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/0.4373, allocations: 1.584 MB / 0.6109 GB, free: 11.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.4373, allocations: 33.7 kB / 0.611 GB, free: 11.03 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001332/0.4387, allocations: 1.801 MB / 0.6127 GB, free: 9.215 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.4388, allocations: 115.1 kB / 0.6128 GB, free: 9.102 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.4391, allocations: 170.5 kB / 0.613 GB, free: 8.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4392, allocations: 337.9 kB / 0.6133 GB, free: 8.594 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007145/0.4399, allocations: 461.8 kB / 0.6138 GB, free: 8.141 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.441, allocations: 0.8642 MB / 0.6146 GB, free: 7.074 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.4428, allocations: 1.387 MB / 0.616 GB, free: 5.484 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/0.4428, allocations: 12 kB / 0.616 GB, free: 5.473 MB / 462.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002312/0.4451, allocations: 1.498 MB / 0.6174 GB, free: 3.961 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.4452, allocations: 16 kB / 0.6175 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.4452, allocations: 19.94 kB / 0.6175 GB, free: 3.926 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.4454, allocations: 57.7 kB / 0.6175 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.446, allocations: 203.6 kB / 0.6177 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.4481, allocations: 2.536 MB / 0.6202 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/0.4487, allocations: 99.61 kB / 0.6203 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.687e-05/0.4488, allocations: 71.98 kB / 0.6204 GB, free: 0.7539 MB / 462.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.001161/0.45, allocations: 0.7671 MB / 0.6211 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003415/0.4503, allocations: 166.9 kB / 0.6213 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.4521, allocations: 0.8968 MB / 0.6221 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.4521, allocations: 7.984 kB / 0.6222 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4521, allocations: 0 / 0.6222 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.4523, allocations: 158.8 kB / 0.6223 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.4525, allocations: 16 kB / 0.6223 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006606/0.4532, allocations: 11.98 kB / 0.6223 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.119e-05/0.4532, allocations: 43.88 kB / 0.6224 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001723/0.455, allocations: 1.406 MB / 0.6237 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001825/0.4568, allocations: 1.885 MB / 0.6256 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004224/0.4572, allocations: 267.8 kB / 0.6258 GB, free: 11.06 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001633/0.4589, allocations: 1.299 MB / 0.6271 GB, free: 9.77 MB / 478.1 MB Notification: Performance of Backend: time 6.31e-07/0.4589, allocations: 0 / 0.6271 GB, free: 9.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002782/0.4616, allocations: 1.065 MB / 0.6281 GB, free: 8.676 MB / 478.1 MB Notification: Performance of SimCode: time 0.008603/0.4702, allocations: 5.772 MB / 0.6338 GB, free: 2.855 MB / 478.1 MB Notification: Performance of Templates: time 0.04256/0.5128, allocations: 26.07 MB / 0.6592 GB, free: 9.035 MB / 0.4981 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 os._exit(0), Time elapsed: 5.322620833991095] Failed to read output from testmodel.py, exit status != 0: 0.5209842550102621 0.534651299 0.140210979 Calling exit ...