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.001475/0.001475, allocations: 110 kB / 18.93 MB, free: 2.945 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.001548/0.001548, allocations: 191.8 kB / 22.23 MB, free: 5.16 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.349/1.349, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.09882/0.09882, allocations: 15.53 MB / 321.8 MB, free: 9.055 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/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.002025/0.002025, allocations: 67.83 kB / 450.6 MB, free: 9.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1051, allocations: 56.58 MB / 0.4953 GB, free: 1.012 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/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/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.3824/0.4875, allocations: 25.34 MB / 0.52 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00986/0.4974, allocations: 10.14 MB / 0.53 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005856/0.498, allocations: 10.25 kB / 0.53 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006729/0.4986, allocations: 243.1 kB / 0.5302 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.5001, allocations: 0.5846 MB / 0.5308 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004126/0.5042, allocations: 1.465 MB / 0.5322 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.5055, allocations: 0.9459 MB / 0.5331 GB, free: 384 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000548/0.5061, allocations: 434.9 kB / 0.5335 GB, free: 336 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006366/0.5067, allocations: 430 kB / 0.5339 GB, free: 264 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007079/0.5074, allocations: 478.4 kB / 0.5344 GB, free: 132 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.5075, allocations: 84.78 kB / 0.5345 GB, free: 132 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004099/0.5116, allocations: 1.055 MB / 0.5355 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.5118, allocations: 195.8 kB / 0.5357 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004901/0.5123, allocations: 430.2 kB / 0.5361 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004582/0.5169, allocations: 1.998 MB / 0.5381 GB, free: 14.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5169, allocations: 4.609 kB / 0.5381 GB, free: 14.58 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5169, allocations: 0 / 0.5381 GB, free: 14.58 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.5169, allocations: 0 / 0.5381 GB, free: 14.58 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.002424/0.5194, allocations: 1.157 MB / 0.5392 GB, free: 13.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.5194, allocations: 9.469 kB / 0.5392 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008119/0.5202, allocations: 210.2 kB / 0.5394 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007195/0.5209, allocations: 430.6 kB / 0.5398 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.193e-05/0.521, allocations: 49.91 kB / 0.5399 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.5211, allocations: 73.81 kB / 0.5399 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.5227, allocations: 1.113 MB / 0.541 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.5227, allocations: 4.609 kB / 0.541 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-05/0.5228, allocations: 30.28 kB / 0.5411 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.5228, allocations: 15.91 kB / 0.5411 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.5249, allocations: 1.549 MB / 0.5426 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00489/0.5298, allocations: 3.006 MB / 0.5455 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.5312, allocations: 0.9131 MB / 0.5464 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004705/0.5317, allocations: 359.3 kB / 0.5467 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003283/0.535, allocations: 1.828 MB / 0.5485 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.535, allocations: 54.48 kB / 0.5486 GB, free: 8.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=51): time 1.733e-06/0.535, allocations: 0 / 0.5486 GB, free: 8.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=68): time 0.01437/0.5494, allocations: 3.391 MB / 0.5519 GB, free: 7.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.5495, allocations: 59.25 kB / 0.552 GB, free: 7.129 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007303/0.5502, allocations: 0.7035 MB / 0.5526 GB, free: 6.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.5502, allocations: 37.17 kB / 0.5527 GB, free: 6.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.5505, allocations: 360.8 kB / 0.553 GB, free: 6.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.5507, allocations: 242.9 kB / 0.5533 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.5509, allocations: 159.5 kB / 0.5534 GB, free: 6.047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5511, allocations: 365.2 kB / 0.5538 GB, free: 5.695 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005509/0.5516, allocations: 456.8 kB / 0.5542 GB, free: 5.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006854/0.5523, allocations: 0.6093 MB / 0.5548 GB, free: 5.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.5535, allocations: 0.9999 MB / 0.5558 GB, free: 4.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.5535, allocations: 3.438 kB / 0.5558 GB, free: 4.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003635/0.5571, allocations: 1.442 MB / 0.5572 GB, free: 3.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.5572, allocations: 7 kB / 0.5572 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.5572, allocations: 3.75 kB / 0.5572 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002089/0.5593, allocations: 269.4 kB / 0.5574 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006623/0.5599, allocations: 190.7 kB / 0.5576 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005351/0.5653, allocations: 3.758 MB / 0.5613 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/0.5659, allocations: 26.84 kB / 0.5613 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-05/0.566, allocations: 32.39 kB / 0.5613 GB, free: 15.89 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.0003426/0.5663, allocations: 221.1 kB / 0.5616 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.5665, allocations: 60.53 kB / 0.5616 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003486/0.57, allocations: 1.21 MB / 0.5628 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.57, allocations: 7.438 kB / 0.5628 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.57, allocations: 0 / 0.5628 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.57, allocations: 3.984 kB / 0.5628 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004718/0.5747, allocations: 2.15 MB / 0.5649 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.5747, allocations: 3.625 kB / 0.5649 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005142/0.5752, allocations: 140.1 kB / 0.565 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001962/0.5772, allocations: 263.5 kB / 0.5653 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.5772, allocations: 18.88 kB / 0.5653 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004704/0.5819, allocations: 3.708 MB / 0.5689 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5819, allocations: 0 / 0.5689 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00393/0.5859, allocations: 1.681 MB / 0.5706 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003453/0.5862, allocations: 120 kB / 0.5707 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.352e-05/0.5863, allocations: 23.5 kB / 0.5707 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.5867, allocations: 19.06 kB / 0.5707 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.5869, allocations: 57.92 kB / 0.5708 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/0.5869, allocations: 25.89 kB / 0.5708 GB, free: 8.668 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005282/0.5874, allocations: 0.5146 MB / 0.5713 GB, free: 8.363 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5874, allocations: 0 / 0.5713 GB, free: 8.363 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001185/0.5886, allocations: 447.4 kB / 0.5717 GB, free: 8.246 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.0007966/0.5894, allocations: 0.5251 MB / 0.5723 GB, free: 7.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.5912, allocations: 1.173 MB / 0.5734 GB, free: 7.062 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5912, allocations: 5.125 kB / 0.5734 GB, free: 7.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009042/0.5921, allocations: 0.6497 MB / 0.574 GB, free: 6.383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008081/0.5929, allocations: 167.2 kB / 0.5742 GB, free: 6.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.5955, allocations: 1.565 MB / 0.5757 GB, free: 4.613 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/0.596, allocations: 0.911 MB / 0.5766 GB, free: 3.676 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004447/0.5964, allocations: 128.9 kB / 0.5767 GB, free: 3.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.5967, allocations: 91.39 kB / 0.5768 GB, free: 3.461 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5967, allocations: 0 / 0.5768 GB, free: 3.461 MB / 414.1 MB Notification: Performance of Templates: time 0.02976/0.6264, allocations: 18.76 MB / 0.5951 GB, free: 0.7617 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: 5.428785586729646] Failed to read output from testmodel.py, exit status != 0: 0.6352497041225433 0.648159124 0.128377388 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fb50c7f97b0>