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.001347/0.001347, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.001517/0.001517, allocations: 171.3 kB / 22.46 MB, free: 5.355 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.423/1.423, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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.1277/0.1277, allocations: 17.45 MB / 276.6 MB, free: 15.21 MB / 270.1 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 1.653e-06/1.653e-06, allocations: 0 / 412.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.883e-05, allocations: 2.281 kB / 412.1 MB, free: 4.281 MB / 334.1 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.03502/0.03504, allocations: 25.38 MB / 437.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.04767, allocations: 8.934 MB / 446.4 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004844/0.04816, allocations: 11.94 kB / 446.4 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006862/0.04884, allocations: 218.2 kB / 446.6 MB, free: 1.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.0502, allocations: 0.5893 MB / 447.2 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1617/0.2119, allocations: 1.497 MB / 448.7 MB, free: 32.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.213, allocations: 0.9814 MB / 449.7 MB, free: 32.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004889/0.2135, allocations: 433 kB / 450.1 MB, free: 32.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006274/0.2142, allocations: 0.6015 MB / 450.7 MB, free: 32.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005239/0.2147, allocations: 371.8 kB / 451.1 MB, free: 32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.2148, allocations: 84.53 kB / 451.2 MB, free: 32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002289/0.2171, allocations: 0.9992 MB / 452.2 MB, free: 31.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.2173, allocations: 194.9 kB / 452.4 MB, free: 31.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003249/0.2176, allocations: 311.6 kB / 452.7 MB, free: 31.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003026/0.2206, allocations: 2.171 MB / 454.9 MB, free: 31.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2206, allocations: 3.219 kB / 454.9 MB, free: 31.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2206, allocations: 3.938 kB / 454.9 MB, free: 31.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.2206, allocations: 0 / 454.9 MB, free: 31.57 MB / 366.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.001958/0.2226, allocations: 1.152 MB / 456 MB, free: 30.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.2226, allocations: 8.906 kB / 456 MB, free: 30.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008266/0.2235, allocations: 214.5 kB / 456.2 MB, free: 30.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006539/0.2241, allocations: 427.3 kB / 456.6 MB, free: 30.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/0.2242, allocations: 51.22 kB / 456.7 MB, free: 30.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.2243, allocations: 75.47 kB / 456.8 MB, free: 30.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.2258, allocations: 1.11 MB / 457.9 MB, free: 30.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.2258, allocations: 192 / 457.9 MB, free: 30.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.005e-05/0.2258, allocations: 26.06 kB / 457.9 MB, free: 30.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.2259, allocations: 20.44 kB / 457.9 MB, free: 30.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.2278, allocations: 1.54 MB / 459.5 MB, free: 29.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00425/0.2321, allocations: 2.566 MB / 462 MB, free: 28.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.2334, allocations: 0.902 MB / 462.9 MB, free: 28.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004215/0.2338, allocations: 363.7 kB / 463.3 MB, free: 28.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003104/0.2369, allocations: 1.716 MB / 465 MB, free: 27.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.237, allocations: 38.34 kB / 465 MB, free: 27.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 1.854e-06/0.237, allocations: 2.656 kB / 465 MB, free: 27.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=68): time 0.0143/0.2513, allocations: 3.389 MB / 468.4 MB, free: 25.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.2513, allocations: 62.34 kB / 468.5 MB, free: 25.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006915/0.252, allocations: 0.6783 MB / 469.2 MB, free: 25.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.252, allocations: 37.55 kB / 469.2 MB, free: 25.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.2522, allocations: 364.3 kB / 469.6 MB, free: 25.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.2523, allocations: 243.2 kB / 469.8 MB, free: 25.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.2526, allocations: 154.1 kB / 470 MB, free: 24.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.2526, allocations: 365.1 kB / 470.3 MB, free: 24.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005307/0.2532, allocations: 464.2 kB / 470.8 MB, free: 24.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/0.2538, allocations: 0.6058 MB / 471.4 MB, free: 24.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.2548, allocations: 1.003 MB / 472.4 MB, free: 23.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2548, allocations: 0 / 472.4 MB, free: 23.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003759/0.2586, allocations: 1.432 MB / 473.8 MB, free: 23.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.2586, allocations: 6.344 kB / 473.8 MB, free: 23.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.2586, allocations: 7.656 kB / 473.8 MB, free: 23.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002114/0.2608, allocations: 271.2 kB / 474.1 MB, free: 22.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/0.2615, allocations: 188.4 kB / 474.3 MB, free: 22.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004286/0.2658, allocations: 3.681 MB / 477.9 MB, free: 19.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.2664, allocations: 38.58 kB / 478 MB, free: 19.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/0.2664, allocations: 35.98 kB / 478 MB, free: 19.41 MB / 366.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.0002733/0.2667, allocations: 205.7 kB / 478.2 MB, free: 19.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.2668, allocations: 59.62 kB / 478.3 MB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003341/0.2702, allocations: 1.198 MB / 479.5 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.2702, allocations: 8 kB / 479.5 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2702, allocations: 2.812 kB / 479.5 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.2702, allocations: 7.984 kB / 479.5 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004123/0.2743, allocations: 1.975 MB / 481.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2743, allocations: 2.875 kB / 481.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/0.2748, allocations: 137.7 kB / 481.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001965/0.2768, allocations: 262 kB / 481.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/0.2768, allocations: 23.92 kB / 481.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003773/0.2806, allocations: 3.63 MB / 485.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2806, allocations: 4.031 kB / 485.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003548/0.2842, allocations: 1.673 MB / 487.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.2844, allocations: 122.5 kB / 487.3 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.661e-05/0.2845, allocations: 16 kB / 487.3 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.2849, allocations: 15.98 kB / 487.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.285, allocations: 56.56 kB / 487.4 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.2851, allocations: 23.98 kB / 487.4 MB, free: 9.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003691/0.2855, allocations: 0.4978 MB / 487.9 MB, free: 9.293 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2855, allocations: 3.469 kB / 487.9 MB, free: 9.293 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001153/0.2866, allocations: 438.8 kB / 488.4 MB, free: 8.863 MB / 366.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.0008587/0.2875, allocations: 0.5554 MB / 488.9 MB, free: 8.395 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.2889, allocations: 1.163 MB / 490.1 MB, free: 7.223 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2889, allocations: 0 / 490.1 MB, free: 7.223 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006996/0.2896, allocations: 0.6498 MB / 490.7 MB, free: 6.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007942/0.2904, allocations: 160.3 kB / 490.9 MB, free: 6.434 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.2922, allocations: 1.438 MB / 492.3 MB, free: 5.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.2924, allocations: 317.2 kB / 492.6 MB, free: 4.676 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003754/0.2928, allocations: 127.6 kB / 492.8 MB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.293, allocations: 91.19 kB / 492.8 MB, free: 4.508 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.293, allocations: 0 / 492.8 MB, free: 4.508 MB / 366.1 MB Notification: Performance of Templates: time 0.02881/0.3218, allocations: 18.47 MB / 0.4993 GB, free: 3.043 MB / 382.1 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.310943361371756] Failed to read output from testmodel.py, exit status != 0: 0.33067450299859047 0.345259053 0.12156431200000001 Calling exit ...