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.001321/0.001321, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001486/0.001486, allocations: 205.8 kB / 23 MB, free: 4.934 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.134/0.134, allocations: 23.87 MB / 337.1 MB, free: 10.99 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.00213/0.00213, allocations: 67.91 kB / 472.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3228, allocations: 59.86 MB / 0.5198 GB, free: 9.746 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.07038/0.3932, allocations: 24.93 MB / 0.5441 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.4057, allocations: 8.935 MB / 0.5528 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006994/0.4064, allocations: 11.88 kB / 0.5528 GB, free: 6.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007533/0.4072, allocations: 214 kB / 0.553 GB, free: 6.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.4087, allocations: 0.5706 MB / 0.5536 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00381/0.4125, allocations: 1.464 MB / 0.555 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.4138, allocations: 0.9549 MB / 0.556 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006195/0.4144, allocations: 426 kB / 0.5564 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005207/0.415, allocations: 443.3 kB / 0.5568 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006356/0.4156, allocations: 473.1 kB / 0.5572 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.4157, allocations: 84 kB / 0.5573 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002287/0.418, allocations: 1.008 MB / 0.5583 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.4182, allocations: 193.8 kB / 0.5585 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003735/0.4186, allocations: 361.3 kB / 0.5588 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003245/0.4218, allocations: 2.059 MB / 0.5608 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4218, allocations: 0 / 0.5608 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4218, allocations: 0 / 0.5608 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.4219, allocations: 0 / 0.5608 GB, free: 15.56 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.002456/0.4243, allocations: 1.166 MB / 0.562 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4243, allocations: 12.03 kB / 0.562 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008766/0.4252, allocations: 204.6 kB / 0.5622 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008034/0.426, allocations: 433.1 kB / 0.5626 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.758e-05/0.4261, allocations: 54.98 kB / 0.5627 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.4262, allocations: 68.33 kB / 0.5627 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.428, allocations: 1.119 MB / 0.5638 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.428, allocations: 0 / 0.5638 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.759e-05/0.4281, allocations: 31.94 kB / 0.5638 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.4281, allocations: 16 kB / 0.5639 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.4303, allocations: 1.538 MB / 0.5654 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004848/0.4351, allocations: 2.569 MB / 0.5679 GB, free: 8.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.4366, allocations: 0.8951 MB / 0.5687 GB, free: 7.602 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005182/0.4371, allocations: 366.6 kB / 0.5691 GB, free: 7.242 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003579/0.4407, allocations: 1.724 MB / 0.5708 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.4408, allocations: 42.94 kB / 0.5708 GB, free: 5.445 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.385e-06/0.4408, allocations: 0 / 0.5708 GB, free: 5.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.0165/0.4573, allocations: 3.391 MB / 0.5741 GB, free: 2.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.4573, allocations: 64 kB / 0.5742 GB, free: 1.941 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007978/0.4581, allocations: 0.6735 MB / 0.5749 GB, free: 1.258 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/0.4582, allocations: 33.7 kB / 0.5749 GB, free: 1.219 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.4584, allocations: 360.3 kB / 0.5752 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.4586, allocations: 253.8 kB / 0.5755 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.4589, allocations: 154.6 kB / 0.5756 GB, free: 464 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.4591, allocations: 362.8 kB / 0.576 GB, free: 92 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006701/0.4597, allocations: 457.8 kB / 0.5764 GB, free: 15.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007934/0.4605, allocations: 0.612 MB / 0.577 GB, free: 14.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.4619, allocations: 0.9932 MB / 0.578 GB, free: 13.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.4619, allocations: 4 kB / 0.578 GB, free: 13.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004239/0.4662, allocations: 1.433 MB / 0.5794 GB, free: 12.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.4662, allocations: 6.656 kB / 0.5794 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.4662, allocations: 8 kB / 0.5794 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002451/0.4687, allocations: 266.3 kB / 0.5796 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007906/0.4694, allocations: 191.7 kB / 0.5798 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005587/0.475, allocations: 3.703 MB / 0.5834 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006572/0.4757, allocations: 20 kB / 0.5835 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/0.4758, allocations: 35.98 kB / 0.5835 GB, free: 8.012 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.0003474/0.4761, allocations: 197.7 kB / 0.5837 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.4763, allocations: 63.61 kB / 0.5837 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004028/0.4803, allocations: 1.205 MB / 0.5849 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.4803, allocations: 7.922 kB / 0.5849 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.4803, allocations: 7.938 kB / 0.5849 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.4806, allocations: 115.5 kB / 0.585 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.12e-05/0.4807, allocations: 12 kB / 0.5851 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/0.4811, allocations: 16 kB / 0.5851 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.4813, allocations: 60.55 kB / 0.5851 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002992/0.4842, allocations: 1.07 MB / 0.5862 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002036/0.4863, allocations: 1.463 MB / 0.5876 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005272/0.4868, allocations: 357.1 kB / 0.5879 GB, free: 3.395 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000547/0.4874, allocations: 499.1 kB / 0.5884 GB, free: 2.906 MB / 430.1 MB Notification: Performance of Backend: time 4.21e-07/0.4874, allocations: 4 kB / 0.5884 GB, free: 2.902 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00317/0.4905, allocations: 1.49 MB / 0.5899 GB, free: 1.375 MB / 430.1 MB Notification: Performance of SimCode: time 0.002566/0.4931, allocations: 1.825 MB / 0.5917 GB, free: 15.5 MB / 446.1 MB Notification: Performance of Templates: time 0.03461/0.5277, allocations: 22.68 MB / 0.6138 GB, free: 8.848 MB / 462.1 MB " [Timeout remaining time 659] 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: 5.4540839699911885] Failed to read output from testmodel.py, exit status != 0: 0.535905836004531 0.549872743 0.125021876 Calling exit ...