Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 104 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002159/0.002159, allocations: 191.7 kB / 19.4 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09437/0.09437, allocations: 15.55 MB / 318.2 MB, free: 10.24 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest") translateModel(Chemical.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 63.89 kB / 445.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1258, allocations: 56.54 MB / 0.4902 GB, free: 4.457 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019: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 1.4.1-master/package.mo:3019:6-3019: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.Examples.AcidBase.AcidBaseBufferTest): time 0.4602/0.586, allocations: 24.98 MB / 0.5146 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.5984, allocations: 10.13 MB / 0.5245 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.5994, allocations: 9.438 kB / 0.5245 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009066/0.6003, allocations: 237.1 kB / 0.5247 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.6021, allocations: 0.5715 MB / 0.5253 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006329/0.6084, allocations: 1.455 MB / 0.5267 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001934/0.6104, allocations: 0.9447 MB / 0.5276 GB, free: 324 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007022/0.6111, allocations: 430.7 kB / 0.528 GB, free: 124 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006504/0.6117, allocations: 412.5 kB / 0.5284 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007338/0.6125, allocations: 491.2 kB / 0.5289 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.6126, allocations: 84.88 kB / 0.529 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005141/0.6177, allocations: 1.048 MB / 0.53 GB, free: 15.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.618, allocations: 198.8 kB / 0.5302 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006569/0.6187, allocations: 429.4 kB / 0.5306 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00692/0.6256, allocations: 2 MB / 0.5325 GB, free: 14.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.6256, allocations: 0.5312 kB / 0.5325 GB, free: 14.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.6256, allocations: 0 / 0.5325 GB, free: 14.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.518e-05/0.6257, allocations: 0.7188 kB / 0.5325 GB, free: 14.19 MB / 398.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.004909/0.6306, allocations: 1.235 MB / 0.5337 GB, free: 13.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.6306, allocations: 10.09 kB / 0.5338 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.632, allocations: 210.4 kB / 0.534 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.6333, allocations: 496.1 kB / 0.5344 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.181e-05/0.6334, allocations: 61.72 kB / 0.5345 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002639/0.6337, allocations: 69.17 kB / 0.5346 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/0.6362, allocations: 1.088 MB / 0.5356 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.6363, allocations: 2.047 kB / 0.5356 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.434e-05/0.6364, allocations: 25.5 kB / 0.5356 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.6364, allocations: 15.31 kB / 0.5357 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/0.6392, allocations: 1.512 MB / 0.5371 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006772/0.6459, allocations: 3.005 MB / 0.5401 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.6479, allocations: 0.9658 MB / 0.541 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006272/0.6485, allocations: 358.1 kB / 0.5414 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004417/0.6529, allocations: 2.461 MB / 0.5438 GB, free: 7.391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.6529, allocations: 36.41 kB / 0.5438 GB, free: 7.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=51): time 2.785e-06/0.6529, allocations: 5.125 kB / 0.5438 GB, free: 7.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=68): time 0.01534/0.6683, allocations: 3.516 MB / 0.5472 GB, free: 5.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.6683, allocations: 58.5 kB / 0.5473 GB, free: 5.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.6696, allocations: 0.6899 MB / 0.548 GB, free: 4.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.6697, allocations: 40.45 kB / 0.548 GB, free: 4.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.6701, allocations: 357.5 kB / 0.5483 GB, free: 4.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/0.6704, allocations: 245.4 kB / 0.5486 GB, free: 4.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000337/0.6707, allocations: 156.6 kB / 0.5487 GB, free: 4.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.6709, allocations: 363.2 kB / 0.5491 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007363/0.6717, allocations: 447.4 kB / 0.5495 GB, free: 3.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008555/0.6725, allocations: 0.5906 MB / 0.5501 GB, free: 3.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.674, allocations: 0.9721 MB / 0.551 GB, free: 2.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.674, allocations: 0 / 0.551 GB, free: 2.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003692/0.6777, allocations: 1.41 MB / 0.5524 GB, free: 1.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.6777, allocations: 7.25 kB / 0.5524 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.6777, allocations: 11.31 kB / 0.5524 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/0.6797, allocations: 264.1 kB / 0.5527 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007143/0.6804, allocations: 184.3 kB / 0.5528 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005643/0.6861, allocations: 3.959 MB / 0.5567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008216/0.6869, allocations: 23.12 kB / 0.5567 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.687, allocations: 40.69 kB / 0.5568 GB, free: 13.81 MB / 414.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.0005048/0.6875, allocations: 206.3 kB / 0.557 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/0.6878, allocations: 68.5 kB / 0.557 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003524/0.6913, allocations: 1.185 MB / 0.5582 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.6913, allocations: 15.14 kB / 0.5582 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.6913, allocations: 3.938 kB / 0.5582 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.6913, allocations: 3.984 kB / 0.5582 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004894/0.6962, allocations: 2.154 MB / 0.5603 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.6962, allocations: 0 / 0.5603 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000536/0.6968, allocations: 137.2 kB / 0.5604 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00182/0.6986, allocations: 261 kB / 0.5607 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.706e-05/0.6987, allocations: 26.8 kB / 0.5607 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005402/0.7041, allocations: 3.915 MB / 0.5645 GB, free: 7.453 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.7041, allocations: 0 / 0.5645 GB, free: 7.453 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004048/0.7081, allocations: 1.654 MB / 0.5662 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005839/0.7087, allocations: 198 kB / 0.5663 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.7089, allocations: 27.3 kB / 0.5664 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004965/0.7094, allocations: 11.62 kB / 0.5664 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.7095, allocations: 61.83 kB / 0.5664 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.642e-05/0.7096, allocations: 26.02 kB / 0.5665 GB, free: 6.211 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006319/0.7102, allocations: 0.5048 MB / 0.567 GB, free: 5.906 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7102, allocations: 0 / 0.567 GB, free: 5.906 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001756/0.712, allocations: 441 kB / 0.5674 GB, free: 5.793 MB / 414.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.001634/0.7136, allocations: 0.531 MB / 0.5679 GB, free: 5.473 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002009/0.7156, allocations: 1.142 MB / 0.569 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7156, allocations: 0 / 0.569 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009285/0.7166, allocations: 0.6561 MB / 0.5697 GB, free: 4.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009933/0.7176, allocations: 177.5 kB / 0.5698 GB, free: 4.242 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.7204, allocations: 1.54 MB / 0.5713 GB, free: 3.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/0.721, allocations: 0.91 MB / 0.5722 GB, free: 2.453 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004849/0.7214, allocations: 125.6 kB / 0.5723 GB, free: 2.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.7217, allocations: 91.89 kB / 0.5724 GB, free: 2.367 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.7217, allocations: 3.938 kB / 0.5724 GB, free: 2.363 MB / 414.1 MB Notification: Performance of Templates: time 0.03129/0.753, allocations: 18.23 MB / 0.5902 GB, free: 3.297 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.sim & ./Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1292526833713055]