Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001387/0.001387, allocations: 88.72 kB / 19.44 MB, free: 356 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.001625/0.001625, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.505/1.505, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.14/0.14, allocations: 17.45 MB / 277 MB, free: 11.59 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest") translateModel(Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.18e-05/3.412e-05, allocations: 2.312 kB / 352.8 MB, free: 10.2 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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.03726/0.03729, allocations: 25.56 MB / 378.4 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.05077, allocations: 8.934 MB / 387.3 MB, free: 7.816 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005041/0.05127, allocations: 11.88 kB / 387.3 MB, free: 7.805 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007181/0.05199, allocations: 218.2 kB / 387.5 MB, free: 7.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.05347, allocations: 0.5894 MB / 388.1 MB, free: 6.996 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005676/0.05915, allocations: 1.506 MB / 389.6 MB, free: 5.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002016/0.06116, allocations: 0.9852 MB / 390.6 MB, free: 4.492 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008826/0.06205, allocations: 445.8 kB / 391.1 MB, free: 4.051 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.0632, allocations: 0.6004 MB / 391.7 MB, free: 3.449 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008549/0.06406, allocations: 371 kB / 392 MB, free: 3.086 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.06426, allocations: 84 kB / 392.1 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003687/0.06794, allocations: 0.9942 MB / 393.1 MB, free: 2.008 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.06825, allocations: 191.3 kB / 393.3 MB, free: 1.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005834/0.06883, allocations: 315.3 kB / 393.6 MB, free: 1.512 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004984/0.07382, allocations: 2.175 MB / 395.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.07382, allocations: 0 / 395.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.07382, allocations: 0 / 395.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.07383, allocations: 4 kB / 395.8 MB, free: 15.32 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.003372/0.07721, allocations: 1.147 MB / 396.9 MB, free: 14.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.07725, allocations: 8.031 kB / 396.9 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.0789, allocations: 371.1 kB / 397.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.0801, allocations: 443.3 kB / 397.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.595e-05/0.0802, allocations: 54.38 kB / 397.8 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.08041, allocations: 64.38 kB / 397.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/0.08347, allocations: 1.107 MB / 398.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.08349, allocations: 192 / 398.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.08362, allocations: 28.38 kB / 399 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.233e-05/0.08366, allocations: 19.94 kB / 399 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004074/0.08774, allocations: 1.542 MB / 400.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008618/0.09636, allocations: 2.6 MB / 403.1 MB, free: 7.836 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/0.09928, allocations: 0.8985 MB / 404 MB, free: 6.926 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009851/0.1003, allocations: 366.7 kB / 404.4 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006376/0.1066, allocations: 1.751 MB / 406.1 MB, free: 4.793 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/0.1067, allocations: 39.06 kB / 406.2 MB, free: 4.742 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 2.635e-06/0.1067, allocations: 0 / 406.2 MB, free: 4.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.01872/0.1254, allocations: 3.409 MB / 409.6 MB, free: 1.297 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.1255, allocations: 60.06 kB / 409.6 MB, free: 1.227 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009142/0.1264, allocations: 0.6774 MB / 410.3 MB, free: 0.543 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.1265, allocations: 41.7 kB / 410.4 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/0.1268, allocations: 356.4 kB / 410.7 MB, free: 144 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1333/0.26, allocations: 240.5 kB / 410.9 MB, free: 63.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003664/0.2604, allocations: 154.5 kB / 411.1 MB, free: 63.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2605, allocations: 368.1 kB / 411.5 MB, free: 62.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007224/0.2613, allocations: 460.4 kB / 411.9 MB, free: 62.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007259/0.262, allocations: 0.6066 MB / 412.5 MB, free: 62.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.2632, allocations: 0.9996 MB / 413.5 MB, free: 62.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2632, allocations: 1.625 kB / 413.5 MB, free: 62.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004003/0.2672, allocations: 1.465 MB / 415 MB, free: 61.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.2672, allocations: 6.875 kB / 415 MB, free: 61.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.2672, allocations: 8.203 kB / 415 MB, free: 61.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003544/0.2708, allocations: 403.3 kB / 415.4 MB, free: 61.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008324/0.2716, allocations: 184.9 kB / 415.6 MB, free: 61.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004576/0.2762, allocations: 3.693 MB / 419.3 MB, free: 58.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007135/0.2769, allocations: 27.38 kB / 419.3 MB, free: 58.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/0.277, allocations: 39.75 kB / 419.3 MB, free: 58.16 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.0003168/0.2773, allocations: 203.9 kB / 419.5 MB, free: 57.99 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.2775, allocations: 79.84 kB / 419.6 MB, free: 57.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003767/0.2813, allocations: 1.204 MB / 420.8 MB, free: 57.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.2813, allocations: 7.281 kB / 420.8 MB, free: 57.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.2813, allocations: 8.766 kB / 420.8 MB, free: 57.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.2813, allocations: 3.562 kB / 420.8 MB, free: 57.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004759/0.286, allocations: 1.953 MB / 422.8 MB, free: 56.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.286, allocations: 9.031 kB / 422.8 MB, free: 56.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005905/0.2866, allocations: 136 kB / 422.9 MB, free: 56.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003473/0.2901, allocations: 398.1 kB / 423.3 MB, free: 56.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/0.2902, allocations: 19.47 kB / 423.3 MB, free: 56.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004108/0.2943, allocations: 3.649 MB / 427 MB, free: 53.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2943, allocations: 5.75 kB / 427 MB, free: 53.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003973/0.2982, allocations: 1.697 MB / 428.7 MB, free: 52.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.2985, allocations: 116.8 kB / 428.8 MB, free: 52.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.583e-05/0.2986, allocations: 13.47 kB / 428.8 MB, free: 52.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004343/0.299, allocations: 27.34 kB / 428.8 MB, free: 52.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.2992, allocations: 60.06 kB / 428.9 MB, free: 52.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.184e-05/0.2992, allocations: 23.19 kB / 428.9 MB, free: 52.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004054/0.2997, allocations: 0.4924 MB / 429.4 MB, free: 52.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2997, allocations: 0 / 429.4 MB, free: 52.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00106/0.3007, allocations: 440.6 kB / 429.8 MB, free: 52.02 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.0007482/0.3015, allocations: 0.5506 MB / 430.4 MB, free: 51.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.303, allocations: 1.164 MB / 431.5 MB, free: 51.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.303, allocations: 0 / 431.5 MB, free: 51.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007026/0.3037, allocations: 0.6587 MB / 432.2 MB, free: 50.61 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/0.3045, allocations: 167 kB / 432.4 MB, free: 50.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.3063, allocations: 1.473 MB / 433.8 MB, free: 49.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.3065, allocations: 316.2 kB / 434.1 MB, free: 48.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004143/0.3069, allocations: 132 kB / 434.3 MB, free: 48.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.3072, allocations: 84.45 kB / 434.4 MB, free: 48.67 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.3072, allocations: 0 / 434.4 MB, free: 48.67 MB / 330.7 MB Notification: Performance of Templates: time 0.02215/0.3293, allocations: 18.56 MB / 452.9 MB, free: 31.25 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.506327314884402]