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.001431/0.001431, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001686/0.001686, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 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.485/1.485, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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.1481/0.1481, allocations: 17.37 MB / 276.9 MB, free: 11.7 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 352.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.989e-05/4.148e-05, allocations: 4.844 kB / 352.7 MB, free: 10.34 MB / 282.7 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.06217/0.06221, allocations: 25.56 MB / 378.3 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01705/0.07926, allocations: 8.942 MB / 387.2 MB, free: 7.945 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005517/0.07981, allocations: 11.88 kB / 387.2 MB, free: 7.934 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007988/0.08061, allocations: 214.3 kB / 387.4 MB, free: 7.723 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.08234, allocations: 0.5894 MB / 388 MB, free: 7.129 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.08617, allocations: 1.506 MB / 389.5 MB, free: 5.613 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.08765, allocations: 0.9814 MB / 390.5 MB, free: 4.629 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007119/0.08836, allocations: 445.8 kB / 390.9 MB, free: 4.188 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009096/0.08927, allocations: 0.6044 MB / 391.5 MB, free: 3.582 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006674/0.08994, allocations: 367 kB / 391.9 MB, free: 3.223 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002289/0.09017, allocations: 84 kB / 392 MB, free: 3.141 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/0.09255, allocations: 0.9942 MB / 393 MB, free: 2.145 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.09279, allocations: 195.3 kB / 393.2 MB, free: 1.953 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004373/0.09323, allocations: 311.3 kB / 393.5 MB, free: 1.648 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003816/0.09705, allocations: 2.179 MB / 395.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.09705, allocations: 0 / 395.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.09705, allocations: 0 / 395.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.636e-05/0.09708, allocations: 0 / 395.6 MB, free: 15.46 MB / 330.7 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.002618/0.0997, allocations: 1.154 MB / 396.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.09974, allocations: 12.03 kB / 396.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.1009, allocations: 367.1 kB / 397.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008261/0.1018, allocations: 439.4 kB / 397.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.146e-05/0.1018, allocations: 50.38 kB / 397.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.102, allocations: 68.38 kB / 397.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.1039, allocations: 1.107 MB / 398.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.1039, allocations: 4.172 kB / 398.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-05/0.104, allocations: 24.38 kB / 398.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.104, allocations: 19.94 kB / 398.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002391/0.1064, allocations: 1.538 MB / 400.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005281/0.1116, allocations: 2.6 MB / 403 MB, free: 7.969 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.1133, allocations: 0.8986 MB / 403.9 MB, free: 7.059 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005897/0.1139, allocations: 366.7 kB / 404.3 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003785/0.1177, allocations: 1.747 MB / 406 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.1177, allocations: 39.06 kB / 406.1 MB, free: 4.883 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.773e-06/0.1177, allocations: 0 / 406.1 MB, free: 4.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.01611/0.1339, allocations: 3.401 MB / 409.5 MB, free: 1.445 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.1339, allocations: 71.98 kB / 409.5 MB, free: 1.363 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009549/0.1349, allocations: 0.6735 MB / 410.2 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.723e-05/0.135, allocations: 37.7 kB / 410.2 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.1353, allocations: 360.4 kB / 410.6 MB, free: 288 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.1355, allocations: 249.8 kB / 410.8 MB, free: 36 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1214/0.2569, allocations: 147.4 kB / 411 MB, free: 63.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.257, allocations: 366.8 kB / 411.3 MB, free: 63.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006358/0.2577, allocations: 460.8 kB / 411.8 MB, free: 63.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006568/0.2583, allocations: 0.6029 MB / 412.4 MB, free: 62.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.2595, allocations: 0.9983 MB / 413.4 MB, free: 62.24 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.2595, allocations: 4.719 kB / 413.4 MB, free: 62.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003704/0.2632, allocations: 1.463 MB / 414.9 MB, free: 61.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.2632, allocations: 11.38 kB / 414.9 MB, free: 61.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.2632, allocations: 4.125 kB / 414.9 MB, free: 61.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003283/0.2665, allocations: 398.8 kB / 415.3 MB, free: 61.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007247/0.2672, allocations: 188.7 kB / 415.4 MB, free: 61.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004398/0.2716, allocations: 3.694 MB / 419.1 MB, free: 58.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/0.2722, allocations: 27.09 kB / 419.2 MB, free: 58.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-05/0.2722, allocations: 39.28 kB / 419.2 MB, free: 58.31 MB / 330.7 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.0002797/0.2725, allocations: 201.9 kB / 419.4 MB, free: 58.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.2727, allocations: 78.92 kB / 419.5 MB, free: 58.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003482/0.2762, allocations: 1.204 MB / 420.7 MB, free: 57.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.2762, allocations: 7.094 kB / 420.7 MB, free: 57.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2762, allocations: 8.406 kB / 420.7 MB, free: 57.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.2762, allocations: 3.281 kB / 420.7 MB, free: 57.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004454/0.2806, allocations: 1.964 MB / 422.7 MB, free: 56.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.2807, allocations: 4.906 kB / 422.7 MB, free: 56.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005392/0.2812, allocations: 140.2 kB / 422.8 MB, free: 56.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003208/0.2844, allocations: 393.9 kB / 423.2 MB, free: 56.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.923e-05/0.2845, allocations: 19.89 kB / 423.2 MB, free: 56.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00386/0.2883, allocations: 3.649 MB / 426.9 MB, free: 53.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2883, allocations: 2.281 kB / 426.9 MB, free: 53.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003699/0.292, allocations: 1.696 MB / 428.6 MB, free: 52.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.2923, allocations: 118.7 kB / 428.7 MB, free: 52.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.947e-05/0.2923, allocations: 15.56 kB / 428.7 MB, free: 52.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.2927, allocations: 18.88 kB / 428.7 MB, free: 52.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.2929, allocations: 55.56 kB / 428.8 MB, free: 52.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.2929, allocations: 28.75 kB / 428.8 MB, free: 52.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003796/0.2933, allocations: 498.8 kB / 429.3 MB, free: 52.26 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2933, allocations: 0 / 429.3 MB, free: 52.26 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009852/0.2943, allocations: 442.8 kB / 429.7 MB, free: 52.22 MB / 330.7 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.000694/0.295, allocations: 0.5473 MB / 430.3 MB, free: 52.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.2964, allocations: 1.172 MB / 431.4 MB, free: 51.44 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2964, allocations: 0 / 431.4 MB, free: 51.44 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006529/0.297, allocations: 0.6612 MB / 432.1 MB, free: 50.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007435/0.2978, allocations: 172 kB / 432.3 MB, free: 50.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.2996, allocations: 1.47 MB / 433.7 MB, free: 49.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.2998, allocations: 313.1 kB / 434 MB, free: 49.06 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004095/0.3002, allocations: 130.5 kB / 434.2 MB, free: 48.97 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.3004, allocations: 91.72 kB / 434.2 MB, free: 48.89 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3004, allocations: 0 / 434.2 MB, free: 48.89 MB / 330.7 MB Notification: Performance of Templates: time 0.02501/0.3254, allocations: 18.55 MB / 452.8 MB, free: 31.46 MB / 330.7 MB " [Timeout remaining time 660] 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.527865780051798]