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.001202/0.001202, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001331/0.001331, allocations: 160.8 kB / 23.01 MB, free: 4.602 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.347/1.347, allocations: 177.2 MB / 203.4 MB, free: 8.93 MB / 190.1 MB " [Timeout remaining time 179] 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.1213/0.1213, allocations: 17.45 MB / 277.2 MB, free: 15.2 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.001943/0.001943, allocations: 59.91 kB / 412.6 MB, free: 5.582 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09626/0.09821, allocations: 59.88 MB / 472.5 MB, free: 9.582 MB / 446.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.3966/0.4948, allocations: 25.05 MB / 497.5 MB, free: 39.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008207/0.503, allocations: 8.945 MB / 0.4946 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003505/0.5033, allocations: 10.16 kB / 0.4946 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005677/0.5039, allocations: 220.1 kB / 0.4948 GB, free: 34.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009879/0.5049, allocations: 0.5575 MB / 0.4953 GB, free: 34.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.5074, allocations: 1.465 MB / 0.4968 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006751/0.5081, allocations: 0.9424 MB / 0.4977 GB, free: 33.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.5085, allocations: 428.2 kB / 0.4981 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.5088, allocations: 434.5 kB / 0.4985 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004337/0.5092, allocations: 415.2 kB / 0.4989 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.5094, allocations: 84.62 kB / 0.499 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.5113, allocations: 0.9885 MB / 0.5 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.5114, allocations: 193.3 kB / 0.5001 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002999/0.5117, allocations: 369 kB / 0.5005 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.5139, allocations: 2.057 MB / 0.5025 GB, free: 31.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5139, allocations: 0 / 0.5025 GB, free: 31.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5139, allocations: 0 / 0.5025 GB, free: 31.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.514, allocations: 1.094 kB / 0.5025 GB, free: 31.13 MB / 446.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.001731/0.5157, allocations: 1.156 MB / 0.5036 GB, free: 30.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.5157, allocations: 14.11 kB / 0.5036 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007345/0.5165, allocations: 209.2 kB / 0.5038 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005922/0.517, allocations: 435.9 kB / 0.5043 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/0.5171, allocations: 53.59 kB / 0.5043 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.5172, allocations: 68.53 kB / 0.5044 GB, free: 29.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.5185, allocations: 1.113 MB / 0.5055 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.5185, allocations: 1 kB / 0.5055 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.742e-05/0.5186, allocations: 25.72 kB / 0.5055 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.5186, allocations: 20.06 kB / 0.5055 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.5203, allocations: 1.542 MB / 0.507 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003702/0.524, allocations: 2.567 MB / 0.5095 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.5252, allocations: 0.894 MB / 0.5104 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004/0.5256, allocations: 359.1 kB / 0.5107 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002796/0.5284, allocations: 1.727 MB / 0.5124 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.5284, allocations: 45.16 kB / 0.5125 GB, free: 26.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.154e-06/0.5284, allocations: 1.094 kB / 0.5125 GB, free: 26.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=68): time 0.01304/0.5414, allocations: 3.394 MB / 0.5158 GB, free: 24.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.5414, allocations: 66.11 kB / 0.5158 GB, free: 24.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006311/0.5421, allocations: 0.6719 MB / 0.5165 GB, free: 24.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.5421, allocations: 36.23 kB / 0.5165 GB, free: 24.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.5423, allocations: 364.4 kB / 0.5169 GB, free: 24.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.5424, allocations: 247.2 kB / 0.5171 GB, free: 24.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.5426, allocations: 152.3 kB / 0.5173 GB, free: 23.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.292e-05/0.5427, allocations: 368.5 kB / 0.5176 GB, free: 23.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/0.5432, allocations: 463.3 kB / 0.5181 GB, free: 23.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.5438, allocations: 0.6024 MB / 0.5186 GB, free: 23.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.5451, allocations: 0.9964 MB / 0.5196 GB, free: 22.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5451, allocations: 2.156 kB / 0.5196 GB, free: 22.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003547/0.5486, allocations: 1.434 MB / 0.521 GB, free: 21.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.5486, allocations: 7.594 kB / 0.521 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.5486, allocations: 3.938 kB / 0.521 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/0.5505, allocations: 266.5 kB / 0.5213 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006884/0.5512, allocations: 197.5 kB / 0.5215 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004102/0.5553, allocations: 3.691 MB / 0.5251 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006621/0.5559, allocations: 22.56 kB / 0.5251 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.421e-05/0.556, allocations: 37.92 kB / 0.5251 GB, free: 18.54 MB / 446.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.0002891/0.5563, allocations: 207.2 kB / 0.5253 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.5564, allocations: 56.81 kB / 0.5254 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003279/0.5597, allocations: 1.211 MB / 0.5266 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.5597, allocations: 10.97 kB / 0.5266 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5597, allocations: 3.938 kB / 0.5266 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.5597, allocations: 4.5 kB / 0.5266 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004538/0.5643, allocations: 1.962 MB / 0.5285 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.5643, allocations: 1.156 kB / 0.5285 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000494/0.5648, allocations: 138.8 kB / 0.5286 GB, free: 16.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/0.5665, allocations: 266.2 kB / 0.5289 GB, free: 16.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/0.5666, allocations: 18.8 kB / 0.5289 GB, free: 16.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003583/0.5702, allocations: 3.637 MB / 0.5325 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5702, allocations: 3 kB / 0.5325 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003385/0.5736, allocations: 1.677 MB / 0.5341 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.5739, allocations: 119 kB / 0.5342 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.759e-05/0.5739, allocations: 15.22 kB / 0.5342 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/0.5743, allocations: 18.84 kB / 0.5343 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.5745, allocations: 53.16 kB / 0.5343 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/0.5745, allocations: 33.05 kB / 0.5343 GB, free: 12.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003753/0.5749, allocations: 0.4897 MB / 0.5348 GB, free: 12.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5749, allocations: 0 / 0.5348 GB, free: 12.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001172/0.5761, allocations: 442.3 kB / 0.5352 GB, free: 12.19 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.0008772/0.5769, allocations: 0.5261 MB / 0.5357 GB, free: 11.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.5784, allocations: 1.178 MB / 0.5369 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5784, allocations: 0 / 0.5369 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007089/0.5791, allocations: 0.6526 MB / 0.5375 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007255/0.5799, allocations: 152.4 kB / 0.5377 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.5818, allocations: 1.559 MB / 0.5392 GB, free: 10 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.582, allocations: 319 kB / 0.5395 GB, free: 9.895 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004092/0.5825, allocations: 126.2 kB / 0.5396 GB, free: 9.844 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.5827, allocations: 86.91 kB / 0.5397 GB, free: 9.832 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5827, allocations: 0 / 0.5397 GB, free: 9.832 MB / 446.1 MB Notification: Performance of Templates: time 0.0259/0.6086, allocations: 18.5 MB / 0.5578 GB, free: 11.93 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 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3345123790204525] Failed to read output from testmodel.py, exit status != 0: 0.6169006990967318 0.631895926 0.114891619 Calling exit ...