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.001382/0.001382, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001539/0.001539, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.42/1.42, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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.1319/0.1319, allocations: 17.37 MB / 276.5 MB, free: 15.3 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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 411.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.502e-05, allocations: 2.281 kB / 412 MB, free: 4.441 MB / 334.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.03296/0.03298, allocations: 25.39 MB / 437.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.04587, allocations: 8.938 MB / 446.3 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.04633, allocations: 11.88 kB / 446.3 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006595/0.04699, allocations: 214.3 kB / 446.5 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.04833, allocations: 0.5893 MB / 447.1 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1719/0.2202, allocations: 1.502 MB / 448.6 MB, free: 32.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001602/0.2218, allocations: 0.9805 MB / 449.6 MB, free: 32.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005928/0.2224, allocations: 428.2 kB / 450 MB, free: 32.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007307/0.2231, allocations: 0.602 MB / 450.6 MB, free: 32.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00056/0.2237, allocations: 367.3 kB / 451 MB, free: 32.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.2238, allocations: 88.39 kB / 451 MB, free: 32.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00266/0.2265, allocations: 0.9953 MB / 452 MB, free: 32.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002244/0.2267, allocations: 197 kB / 452.2 MB, free: 32.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004374/0.2272, allocations: 308.4 kB / 452.5 MB, free: 31.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004233/0.2314, allocations: 2.173 MB / 454.7 MB, free: 31.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2314, allocations: 3.938 kB / 454.7 MB, free: 31.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2314, allocations: 1.156 kB / 454.7 MB, free: 31.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.2314, allocations: 0 / 454.7 MB, free: 31.66 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.002128/0.2335, allocations: 1.153 MB / 455.9 MB, free: 31.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2336, allocations: 10.41 kB / 455.9 MB, free: 31.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008506/0.2344, allocations: 209.8 kB / 456.1 MB, free: 30.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006873/0.2351, allocations: 431.7 kB / 456.5 MB, free: 30.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.588e-05/0.2352, allocations: 53.64 kB / 456.5 MB, free: 30.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.2353, allocations: 73.28 kB / 456.6 MB, free: 30.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.2368, allocations: 1.111 MB / 457.7 MB, free: 30.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.2368, allocations: 1.438 kB / 457.7 MB, free: 30.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.854e-05/0.2369, allocations: 29.73 kB / 457.8 MB, free: 30.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.2369, allocations: 19.5 kB / 457.8 MB, free: 30.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.2389, allocations: 1.537 MB / 459.3 MB, free: 29.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004309/0.2432, allocations: 2.565 MB / 461.9 MB, free: 28.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.2445, allocations: 0.8996 MB / 462.8 MB, free: 28.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004204/0.2449, allocations: 358.5 kB / 463.1 MB, free: 28.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00302/0.248, allocations: 1.724 MB / 464.9 MB, free: 27.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.248, allocations: 38.45 kB / 464.9 MB, free: 27.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.004e-06/0.248, allocations: 0 / 464.9 MB, free: 27.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=68): time 0.01376/0.2617, allocations: 3.399 MB / 468.3 MB, free: 26.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.2618, allocations: 59.56 kB / 468.4 MB, free: 26.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006073/0.2624, allocations: 0.6709 MB / 469 MB, free: 25.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.2624, allocations: 35.89 kB / 469.1 MB, free: 25.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.2626, allocations: 363.7 kB / 469.4 MB, free: 25.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.2627, allocations: 240.2 kB / 469.6 MB, free: 25.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.2629, allocations: 160.6 kB / 469.8 MB, free: 25.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.659e-05/0.263, allocations: 366.8 kB / 470.2 MB, free: 24.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005045/0.2635, allocations: 456.6 kB / 470.6 MB, free: 24.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005676/0.264, allocations: 0.6091 MB / 471.2 MB, free: 24.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.2651, allocations: 0.9941 MB / 472.2 MB, free: 23.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2651, allocations: 0 / 472.2 MB, free: 23.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003455/0.2685, allocations: 1.436 MB / 473.6 MB, free: 23.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.2686, allocations: 5.781 kB / 473.7 MB, free: 23.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.2686, allocations: 5.188 kB / 473.7 MB, free: 23.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002003/0.2706, allocations: 271.3 kB / 473.9 MB, free: 23.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007124/0.2713, allocations: 191.6 kB / 474.1 MB, free: 23.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004071/0.2754, allocations: 3.684 MB / 477.8 MB, free: 19.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005607/0.2759, allocations: 25.66 kB / 477.8 MB, free: 19.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.957e-05/0.276, allocations: 38.5 kB / 477.9 MB, free: 19.62 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.0002734/0.2763, allocations: 208.9 kB / 478.1 MB, free: 19.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.2764, allocations: 59.62 kB / 478.1 MB, free: 19.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/0.2796, allocations: 1.197 MB / 479.3 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.2797, allocations: 8 kB / 479.3 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2797, allocations: 2.688 kB / 479.3 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.2797, allocations: 7.984 kB / 479.3 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004008/0.2837, allocations: 1.968 MB / 481.3 MB, free: 16.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.2837, allocations: 2.812 kB / 481.3 MB, free: 16.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.2842, allocations: 141 kB / 481.4 MB, free: 16.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001925/0.2861, allocations: 266 kB / 481.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.2862, allocations: 23.92 kB / 481.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003674/0.2898, allocations: 3.628 MB / 485.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2898, allocations: 4.031 kB / 485.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00347/0.2933, allocations: 1.669 MB / 487 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.2936, allocations: 126.4 kB / 487.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-05/0.2937, allocations: 16 kB / 487.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.2941, allocations: 18.66 kB / 487.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.2942, allocations: 56.55 kB / 487.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/0.2943, allocations: 30.33 kB / 487.3 MB, free: 9.996 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004305/0.2947, allocations: 0.4913 MB / 487.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2947, allocations: 0 / 487.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001406/0.2961, allocations: 434.9 kB / 488.2 MB, free: 9.078 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.0009033/0.297, allocations: 0.5464 MB / 488.7 MB, free: 8.613 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.2985, allocations: 1.176 MB / 489.9 MB, free: 7.438 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2985, allocations: 0 / 489.9 MB, free: 7.438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007063/0.2992, allocations: 0.6544 MB / 490.6 MB, free: 6.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007946/0.3, allocations: 152.4 kB / 490.7 MB, free: 6.652 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.3019, allocations: 1.448 MB / 492.2 MB, free: 5.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.3021, allocations: 314.6 kB / 492.5 MB, free: 4.891 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003992/0.3025, allocations: 130.3 kB / 492.6 MB, free: 4.809 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.3027, allocations: 91.03 kB / 492.7 MB, free: 4.723 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3027, allocations: 0 / 492.7 MB, free: 4.723 MB / 366.1 MB Notification: Performance of Templates: time 0.02871/0.3315, allocations: 18.47 MB / 0.4992 GB, free: 3.262 MB / 382.1 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.279638513922691] Failed to read output from testmodel.py, exit status != 0: 0.34055472165346146 0.355329231 0.120805959 Calling exit ...