Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001593/0.001593, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001657/0.001657, allocations: 220.2 kB / 23.01 MB, free: 4.609 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.1547/0.1547, allocations: 23.86 MB / 337 MB, free: 11.24 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.Obsolete.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest") translateModel(Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002006/0.002006, allocations: 67.89 kB / 472.4 MB, free: 7.238 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2791, allocations: 59.86 MB / 0.5198 GB, free: 9.871 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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 2.0.0/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.04723/0.3263, allocations: 25.33 MB / 0.5445 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.3397, allocations: 10.19 MB / 0.5545 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006818/0.3404, allocations: 15.88 kB / 0.5545 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007413/0.3411, allocations: 234.8 kB / 0.5547 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.3427, allocations: 0.5828 MB / 0.5553 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004044/0.3468, allocations: 1.464 MB / 0.5567 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.3481, allocations: 0.9507 MB / 0.5577 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007323/0.3489, allocations: 433.1 kB / 0.5581 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006461/0.3495, allocations: 422.9 kB / 0.5585 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006928/0.3502, allocations: 480.3 kB / 0.5589 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.3503, allocations: 92 kB / 0.559 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002915/0.3532, allocations: 1.047 MB / 0.56 GB, free: 200 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000229/0.3535, allocations: 194.1 kB / 0.5602 GB, free: 40 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005608/0.354, allocations: 437.3 kB / 0.5606 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004046/0.3581, allocations: 2.054 MB / 0.5626 GB, free: 14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3581, allocations: 0 / 0.5626 GB, free: 14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3581, allocations: 0 / 0.5626 GB, free: 14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.257e-05/0.3581, allocations: 0 / 0.5626 GB, free: 14 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.002384/0.3605, allocations: 1.174 MB / 0.5638 GB, free: 12.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3605, allocations: 8.688 kB / 0.5638 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008293/0.3614, allocations: 208.7 kB / 0.564 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007911/0.3622, allocations: 424.8 kB / 0.5644 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.262e-05/0.3622, allocations: 58.38 kB / 0.5645 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.3623, allocations: 69.12 kB / 0.5645 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.364, allocations: 1.117 MB / 0.5656 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.3641, allocations: 0 / 0.5656 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.088e-05/0.3641, allocations: 24 kB / 0.5656 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-05/0.3642, allocations: 16 kB / 0.5657 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.3664, allocations: 1.558 MB / 0.5672 GB, free: 9.562 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005117/0.3715, allocations: 3.005 MB / 0.5701 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.373, allocations: 0.9186 MB / 0.571 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005308/0.3736, allocations: 366.7 kB / 0.5714 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003604/0.3772, allocations: 1.829 MB / 0.5731 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3772, allocations: 39 kB / 0.5732 GB, free: 3.266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.154e-06/0.3772, allocations: 0 / 0.5732 GB, free: 3.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01548/0.3927, allocations: 3.395 MB / 0.5765 GB, free: 15.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.3927, allocations: 64.05 kB / 0.5766 GB, free: 15.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009029/0.3936, allocations: 0.7048 MB / 0.5772 GB, free: 15.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.974e-05/0.3937, allocations: 33.7 kB / 0.5773 GB, free: 15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00026/0.394, allocations: 356.4 kB / 0.5776 GB, free: 14.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.3942, allocations: 253.8 kB / 0.5779 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.3945, allocations: 154.5 kB / 0.578 GB, free: 14.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.3947, allocations: 370.8 kB / 0.5784 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006665/0.3953, allocations: 461.8 kB / 0.5788 GB, free: 13.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008074/0.3961, allocations: 0.6003 MB / 0.5794 GB, free: 12.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.3976, allocations: 0.997 MB / 0.5804 GB, free: 11.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3976, allocations: 4 kB / 0.5804 GB, free: 11.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004079/0.4016, allocations: 1.433 MB / 0.5818 GB, free: 10.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.4017, allocations: 8 kB / 0.5818 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.4017, allocations: 8 kB / 0.5818 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002182/0.4039, allocations: 262.3 kB / 0.582 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007713/0.4046, allocations: 191.7 kB / 0.5822 GB, free: 9.789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005505/0.4101, allocations: 3.779 MB / 0.5859 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006045/0.4107, allocations: 24 kB / 0.5859 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.776e-05/0.4108, allocations: 31.98 kB / 0.586 GB, free: 5.707 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.0003356/0.4112, allocations: 202.2 kB / 0.5862 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.4113, allocations: 67.52 kB / 0.5862 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00374/0.415, allocations: 1.213 MB / 0.5874 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.415, allocations: 8 kB / 0.5874 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.4151, allocations: 0 / 0.5874 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.4151, allocations: 11.92 kB / 0.5874 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005115/0.4202, allocations: 2.162 MB / 0.5895 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4202, allocations: 0 / 0.5895 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005764/0.4208, allocations: 139.8 kB / 0.5897 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002253/0.423, allocations: 258.5 kB / 0.5899 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.554e-05/0.4231, allocations: 24 kB / 0.5899 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005138/0.4282, allocations: 3.704 MB / 0.5935 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4282, allocations: 64 / 0.5935 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004214/0.4324, allocations: 1.69 MB / 0.5952 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/0.4327, allocations: 127.6 kB / 0.5953 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.118e-05/0.4328, allocations: 15.94 kB / 0.5953 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.4332, allocations: 16 kB / 0.5954 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.4334, allocations: 64.48 kB / 0.5954 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/0.4334, allocations: 27.98 kB / 0.5954 GB, free: 11.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005988/0.434, allocations: 0.5147 MB / 0.5959 GB, free: 11.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.434, allocations: 0 / 0.5959 GB, free: 11.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001238/0.4352, allocations: 442.9 kB / 0.5964 GB, free: 10.62 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.000907/0.4362, allocations: 0.5249 MB / 0.5969 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.438, allocations: 1.17 MB / 0.598 GB, free: 8.891 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.438, allocations: 4 kB / 0.598 GB, free: 8.887 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009463/0.439, allocations: 0.6586 MB / 0.5987 GB, free: 8.203 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/0.4398, allocations: 152.9 kB / 0.5988 GB, free: 8.059 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.4423, allocations: 1.603 MB / 0.6004 GB, free: 6.402 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/0.4429, allocations: 0.911 MB / 0.6013 GB, free: 5.461 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.4432, allocations: 111.4 kB / 0.6014 GB, free: 5.352 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4432, allocations: 3.938 kB / 0.6014 GB, free: 5.348 MB / 446.1 MB Notification: Performance of Templates: time 0.02827/0.4714, allocations: 21.77 MB / 0.6226 GB, free: 15.61 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.550439378013834] Failed to read output from testmodel.py, exit status != 0: 0.4803035859949887 0.49495228399999996 0.133683813 Calling exit ...