Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.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.00194/0.00194, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001899/0.001899, allocations: 218.1 kB / 22.25 MB, free: 5.105 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.82 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.1376/0.1376, allocations: 23.92 MB / 336.3 MB, free: 10.94 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.Obsolete.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest") translateModel(Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest") [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.003066/0.003066, allocations: 63.84 kB / 471.7 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3241, allocations: 59.87 MB / 0.5191 GB, free: 9.812 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:12638:6-12638:65: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/Obsolete.mo:12638:6-12638:65: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.Obsolete.Examples.AcidBase.AcidBaseBufferTest): time 0.06934/0.3935, allocations: 24.98 MB / 0.5435 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.4066, allocations: 8.938 MB / 0.5522 GB, free: 6.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005981/0.4072, allocations: 15.88 kB / 0.5522 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006853/0.4079, allocations: 219.4 kB / 0.5524 GB, free: 6.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.4092, allocations: 0.564 MB / 0.553 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003795/0.413, allocations: 1.458 MB / 0.5544 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001313/0.4143, allocations: 0.9511 MB / 0.5553 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006428/0.415, allocations: 429.6 kB / 0.5558 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00054/0.4155, allocations: 427.8 kB / 0.5562 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006942/0.4162, allocations: 484.9 kB / 0.5566 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.4163, allocations: 84 kB / 0.5567 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.4187, allocations: 1.004 MB / 0.5577 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.4189, allocations: 194.4 kB / 0.5579 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004262/0.4193, allocations: 369.5 kB / 0.5582 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003251/0.4226, allocations: 2.05 MB / 0.5602 GB, free: 15.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4226, allocations: 4 kB / 0.5602 GB, free: 15.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4226, allocations: 1.031 kB / 0.5602 GB, free: 15.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.4226, allocations: 0 / 0.5602 GB, free: 15.42 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002369/0.425, allocations: 1.158 MB / 0.5614 GB, free: 14.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.425, allocations: 8.031 kB / 0.5614 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009028/0.4259, allocations: 212.3 kB / 0.5616 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000819/0.4267, allocations: 437.3 kB / 0.562 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.4268, allocations: 50.38 kB / 0.562 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.4269, allocations: 72.98 kB / 0.5621 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.4287, allocations: 1.113 MB / 0.5632 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.4287, allocations: 0 / 0.5632 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.9e-05/0.4288, allocations: 31.98 kB / 0.5632 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.4288, allocations: 20 kB / 0.5632 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.4311, allocations: 1.538 MB / 0.5647 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005019/0.4361, allocations: 2.561 MB / 0.5672 GB, free: 8.371 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.4377, allocations: 0.8944 MB / 0.5681 GB, free: 7.473 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005852/0.4383, allocations: 370.7 kB / 0.5685 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003796/0.4421, allocations: 1.72 MB / 0.5701 GB, free: 5.367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.4421, allocations: 42.94 kB / 0.5702 GB, free: 5.316 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.234e-06/0.4421, allocations: 4 kB / 0.5702 GB, free: 5.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01739/0.4595, allocations: 3.386 MB / 0.5735 GB, free: 1.887 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.4595, allocations: 64 kB / 0.5736 GB, free: 1.812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008631/0.4604, allocations: 0.6774 MB / 0.5742 GB, free: 1.125 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.463e-05/0.4605, allocations: 41.64 kB / 0.5743 GB, free: 1.078 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.4607, allocations: 360.3 kB / 0.5746 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.461, allocations: 249.8 kB / 0.5748 GB, free: 484 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/0.4613, allocations: 158.6 kB / 0.575 GB, free: 320 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.4615, allocations: 358.8 kB / 0.5753 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006969/0.4622, allocations: 469.8 kB / 0.5758 GB, free: 15.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008326/0.463, allocations: 0.6042 MB / 0.5764 GB, free: 14.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.4645, allocations: 1.001 MB / 0.5774 GB, free: 13.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4645, allocations: 0 / 0.5774 GB, free: 13.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004463/0.4689, allocations: 1.429 MB / 0.5787 GB, free: 12.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.4689, allocations: 8 kB / 0.5788 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.469, allocations: 8 kB / 0.5788 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002538/0.4715, allocations: 262.3 kB / 0.579 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008648/0.4724, allocations: 199.7 kB / 0.5792 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005774/0.4781, allocations: 3.688 MB / 0.5828 GB, free: 7.934 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/0.4788, allocations: 27.98 kB / 0.5828 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.666e-05/0.4789, allocations: 39.98 kB / 0.5829 GB, free: 7.867 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (94): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003718/0.4793, allocations: 205.8 kB / 0.5831 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.4794, allocations: 59.62 kB / 0.5831 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00418/0.4836, allocations: 1.197 MB / 0.5843 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.4836, allocations: 11.94 kB / 0.5843 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4836, allocations: 4 kB / 0.5843 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.4837, allocations: 7.984 kB / 0.5843 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005438/0.4891, allocations: 1.956 MB / 0.5862 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4891, allocations: 192 / 0.5862 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006366/0.4897, allocations: 147.8 kB / 0.5864 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/0.4921, allocations: 258.3 kB / 0.5866 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.197e-05/0.4922, allocations: 27.92 kB / 0.5866 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005388/0.4976, allocations: 3.635 MB / 0.5902 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.4976, allocations: 12.16 kB / 0.5902 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004642/0.5022, allocations: 1.674 MB / 0.5918 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.5025, allocations: 111.9 kB / 0.5919 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.5026, allocations: 20 kB / 0.592 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004509/0.5031, allocations: 15.94 kB / 0.592 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.5032, allocations: 68.47 kB / 0.592 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.767e-05/0.5033, allocations: 31.92 kB / 0.5921 GB, free: 14.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005908/0.5039, allocations: 0.4913 MB / 0.5926 GB, free: 13.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5039, allocations: 0 / 0.5926 GB, free: 13.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001344/0.5052, allocations: 442.8 kB / 0.593 GB, free: 13.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (simpleSolution.temperature,simpleSolution.mass,liquidWater.logn) * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001064/0.5063, allocations: 0.5211 MB / 0.5935 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002002/0.5083, allocations: 1.166 MB / 0.5946 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5083, allocations: 4 kB / 0.5946 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.5093, allocations: 0.6507 MB / 0.5953 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000864/0.5102, allocations: 148.2 kB / 0.5954 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.5128, allocations: 1.558 MB / 0.5969 GB, free: 8.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.5131, allocations: 310.6 kB / 0.5972 GB, free: 8.652 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005335/0.5137, allocations: 132.8 kB / 0.5973 GB, free: 8.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.5139, allocations: 87.39 kB / 0.5974 GB, free: 8.434 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5139, allocations: 0 / 0.5974 GB, free: 8.434 MB / 446.1 MB Notification: Performance of Templates: time 0.03241/0.5463, allocations: 19.65 MB / 0.6166 GB, free: 4.895 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.684876420069486] Failed to read output from testmodel.py, exit status != 0: 0.5563013916835189 0.568787673 0.14310466400000002 Calling exit ...