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.001403/0.001403, allocations: 103.6 kB / 18.95 MB, free: 2.664 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.001499/0.001499, allocations: 213.1 kB / 22.24 MB, free: 5.266 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.41/1.41, allocations: 230.6 MB / 256 MB, free: 7.777 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.1318/0.1318, allocations: 23.89 MB / 336.3 MB, free: 10.93 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.002048/0.002048, allocations: 72.08 kB / 471.6 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3076, allocations: 59.87 MB / 0.519 GB, free: 9.961 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.06633/0.3739, allocations: 25.09 MB / 0.5435 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.3868, allocations: 8.942 MB / 0.5523 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006772/0.3875, allocations: 11.88 kB / 0.5523 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007233/0.3882, allocations: 218.6 kB / 0.5525 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.3898, allocations: 0.5633 MB / 0.553 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003985/0.3938, allocations: 1.467 MB / 0.5545 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001302/0.3951, allocations: 0.9431 MB / 0.5554 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005675/0.3956, allocations: 422.1 kB / 0.5558 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004949/0.3961, allocations: 431.8 kB / 0.5562 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005789/0.3967, allocations: 421 kB / 0.5566 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.3968, allocations: 84 kB / 0.5567 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.3993, allocations: 0.9885 MB / 0.5576 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.3995, allocations: 193.3 kB / 0.5578 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003919/0.3999, allocations: 365.4 kB / 0.5582 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003555/0.4034, allocations: 2.059 MB / 0.5602 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4034, allocations: 4 kB / 0.5602 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4034, allocations: 0 / 0.5602 GB, free: 15.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.4035, allocations: 0 / 0.5602 GB, free: 15.61 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.002221/0.4057, allocations: 1.155 MB / 0.5613 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.4057, allocations: 11.97 kB / 0.5613 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008194/0.4065, allocations: 212.4 kB / 0.5615 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007823/0.4073, allocations: 429.6 kB / 0.5619 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.395e-05/0.4074, allocations: 50.38 kB / 0.562 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.4075, allocations: 72.33 kB / 0.5621 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.4092, allocations: 1.115 MB / 0.5631 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.4093, allocations: 4 kB / 0.5631 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-05/0.4093, allocations: 32 kB / 0.5632 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.4093, allocations: 16 kB / 0.5632 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/0.4115, allocations: 1.542 MB / 0.5647 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004708/0.4162, allocations: 2.557 MB / 0.5672 GB, free: 8.535 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.4177, allocations: 0.9023 MB / 0.5681 GB, free: 7.633 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005047/0.4182, allocations: 366.7 kB / 0.5684 GB, free: 7.273 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00344/0.4217, allocations: 1.732 MB / 0.5701 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.4217, allocations: 42.94 kB / 0.5702 GB, free: 5.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.014e-06/0.4217, allocations: 0 / 0.5702 GB, free: 5.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.0139/0.4356, allocations: 3.383 MB / 0.5735 GB, free: 2.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.4356, allocations: 67.94 kB / 0.5735 GB, free: 1.969 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008358/0.4365, allocations: 0.6735 MB / 0.5742 GB, free: 1.289 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.597e-05/0.4365, allocations: 37.7 kB / 0.5742 GB, free: 1.246 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.4368, allocations: 360.3 kB / 0.5746 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.437, allocations: 245.9 kB / 0.5748 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.4373, allocations: 162.5 kB / 0.575 GB, free: 492 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.4375, allocations: 366.8 kB / 0.5753 GB, free: 116 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006888/0.4382, allocations: 461.9 kB / 0.5757 GB, free: 15.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008136/0.439, allocations: 0.6003 MB / 0.5763 GB, free: 15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.4404, allocations: 0.9893 MB / 0.5773 GB, free: 13.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4404, allocations: 4 kB / 0.5773 GB, free: 13.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003806/0.4442, allocations: 1.436 MB / 0.5787 GB, free: 12.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.4442, allocations: 8 kB / 0.5787 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.4442, allocations: 4 kB / 0.5787 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/0.4462, allocations: 270.2 kB / 0.579 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/0.4469, allocations: 191.7 kB / 0.5792 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005276/0.4522, allocations: 3.69 MB / 0.5828 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005794/0.4528, allocations: 24 kB / 0.5828 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-05/0.4529, allocations: 35.98 kB / 0.5828 GB, free: 8.047 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.000354/0.4532, allocations: 213.8 kB / 0.583 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.4534, allocations: 55.62 kB / 0.5831 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003595/0.457, allocations: 1.209 MB / 0.5843 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.457, allocations: 11.94 kB / 0.5843 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.457, allocations: 0 / 0.5843 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.457, allocations: 3.984 kB / 0.5843 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004707/0.4617, allocations: 1.968 MB / 0.5862 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.4617, allocations: 4 kB / 0.5862 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005528/0.4623, allocations: 131.9 kB / 0.5863 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/0.4641, allocations: 266.4 kB / 0.5866 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-05/0.4642, allocations: 23.98 kB / 0.5866 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005/0.4692, allocations: 3.635 MB / 0.5901 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4692, allocations: 0 / 0.5901 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004091/0.4733, allocations: 1.678 MB / 0.5918 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.4736, allocations: 115.6 kB / 0.5919 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.733e-05/0.4737, allocations: 19.98 kB / 0.5919 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.4741, allocations: 20 kB / 0.5919 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.4742, allocations: 56.55 kB / 0.592 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.357e-05/0.4743, allocations: 31.92 kB / 0.592 GB, free: 14.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005929/0.4749, allocations: 0.4912 MB / 0.5925 GB, free: 13.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4749, allocations: 0 / 0.5925 GB, free: 13.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001372/0.4762, allocations: 442.8 kB / 0.5929 GB, free: 13.31 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.000941/0.4772, allocations: 0.5252 MB / 0.5934 GB, free: 12.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.4791, allocations: 1.166 MB / 0.5946 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4791, allocations: 0 / 0.5946 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009668/0.4801, allocations: 0.6586 MB / 0.5952 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008322/0.4809, allocations: 160.5 kB / 0.5954 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.4834, allocations: 1.551 MB / 0.5969 GB, free: 9.148 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.4838, allocations: 314.6 kB / 0.5972 GB, free: 8.816 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004375/0.4842, allocations: 128.8 kB / 0.5973 GB, free: 8.688 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.4844, allocations: 87.39 kB / 0.5974 GB, free: 8.602 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4845, allocations: 4 kB / 0.5974 GB, free: 8.598 MB / 446.1 MB Notification: Performance of Templates: time 0.03128/0.5157, allocations: 19.4 MB / 0.6163 GB, free: 5.297 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.459017224609852] Failed to read output from testmodel.py, exit status != 0: 0.524764884263277 0.539408377 0.13284785500000001 Calling exit ...