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.001264/0.001264, allocations: 88.23 kB / 19.64 MB, free: 308 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.001405/0.001405, allocations: 168.9 kB / 23.02 MB, free: 1.574 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 0.9561/0.9561, allocations: 177.1 MB / 203.4 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] 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.08594/0.08594, allocations: 17.47 MB / 277.4 MB, free: 11.58 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 1.703e-06/1.703e-06, allocations: 0 / 353.6 MB, free: 9.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.095e-05, allocations: 8.781 kB / 353.6 MB, free: 9.852 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.03759/0.03761, allocations: 28.3 MB / 381.9 MB, free: 13.67 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02277/0.06038, allocations: 10.22 MB / 392.1 MB, free: 3.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000427/0.06081, allocations: 7.938 kB / 392.1 MB, free: 3.402 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005815/0.06139, allocations: 214.2 kB / 392.3 MB, free: 3.191 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004178/0.06557, allocations: 0.5894 MB / 392.9 MB, free: 2.598 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0059/0.07147, allocations: 1.51 MB / 394.4 MB, free: 1.078 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.07269, allocations: 0.9852 MB / 395.4 MB, free: 92 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004962/0.07318, allocations: 445.7 kB / 395.8 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005497/0.07373, allocations: 0.6044 MB / 396.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000458/0.07419, allocations: 387 kB / 396.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.07429, allocations: 84 kB / 396.9 MB, free: 14.58 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.07594, allocations: 0.998 MB / 397.9 MB, free: 13.58 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.0761, allocations: 195.3 kB / 398.1 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.07637, allocations: 311.4 kB / 398.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.07808, allocations: 1.852 MB / 400.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.07808, allocations: 3.938 kB / 400.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.07809, allocations: 0 / 400.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.07809, allocations: 0 / 400.2 MB, free: 11.22 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.001384/0.07948, allocations: 1.27 MB / 401.5 MB, free: 9.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.07952, allocations: 8.031 kB / 401.5 MB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006585/0.08018, allocations: 363.2 kB / 401.9 MB, free: 9.547 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.08068, allocations: 442.2 kB / 402.3 MB, free: 9.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.08072, allocations: 50.38 kB / 402.4 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004355/0.08116, allocations: 72.36 kB / 402.4 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007347/0.08189, allocations: 0.6403 MB / 403.1 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.08191, allocations: 192 / 403.1 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.574e-05/0.08195, allocations: 32.36 kB / 403.1 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.08197, allocations: 23.88 kB / 403.1 MB, free: 8.258 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007686/0.08274, allocations: 0.6557 MB / 403.8 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.08521, allocations: 2.11 MB / 405.9 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000791/0.086, allocations: 0.6961 MB / 406.6 MB, free: 4.723 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.08622, allocations: 185.6 kB / 406.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/0.08791, allocations: 1.478 MB / 408.2 MB, free: 3.039 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.08793, allocations: 41.89 kB / 408.3 MB, free: 2.984 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.593e-06/0.08793, allocations: 0 / 408.3 MB, free: 2.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.006526/0.09446, allocations: 2.571 MB / 410.9 MB, free: 376 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.09449, allocations: 64.06 kB / 410.9 MB, free: 300 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1205/0.215, allocations: 0.5269 MB / 411.4 MB, free: 49.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.312e-05/0.2151, allocations: 36.73 kB / 411.5 MB, free: 49.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.2153, allocations: 412.3 kB / 411.9 MB, free: 49.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.2154, allocations: 246.8 kB / 412.1 MB, free: 49.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.2156, allocations: 160 kB / 412.3 MB, free: 49.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.635e-05/0.2157, allocations: 0.5401 MB / 412.8 MB, free: 48.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.2159, allocations: 167.1 kB / 413 MB, free: 48.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.2163, allocations: 382.5 kB / 413.4 MB, free: 48.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005771/0.2169, allocations: 0.5867 MB / 413.9 MB, free: 48.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.2169, allocations: 1.812 kB / 413.9 MB, free: 48.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001788/0.2187, allocations: 0.8693 MB / 414.8 MB, free: 48.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.2187, allocations: 9.844 kB / 414.8 MB, free: 48.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2187, allocations: 6.016 kB / 414.8 MB, free: 48.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/0.2201, allocations: 358.8 kB / 415.2 MB, free: 48.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.2205, allocations: 194.8 kB / 415.4 MB, free: 48.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.2229, allocations: 4.566 MB / 419.9 MB, free: 44.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.2231, allocations: 26.17 kB / 420 MB, free: 44.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/0.2232, allocations: 37.53 kB / 420 MB, free: 44.06 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.0001434/0.2233, allocations: 203 kB / 420.2 MB, free: 43.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.2234, allocations: 82.66 kB / 420.3 MB, free: 43.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/0.2252, allocations: 0.8532 MB / 421.1 MB, free: 43.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2252, allocations: 11.69 kB / 421.1 MB, free: 43.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2252, allocations: 0 / 421.1 MB, free: 43.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.2252, allocations: 5.125 kB / 421.1 MB, free: 43.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.2275, allocations: 1.524 MB / 422.7 MB, free: 43.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.2275, allocations: 2.969 kB / 422.7 MB, free: 43.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.2279, allocations: 134.2 kB / 422.8 MB, free: 43.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/0.2292, allocations: 347.5 kB / 423.1 MB, free: 43.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.2293, allocations: 24.77 kB / 423.2 MB, free: 43.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.2313, allocations: 4.518 MB / 427.7 MB, free: 39.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2313, allocations: 5.844 kB / 427.7 MB, free: 39.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.233, allocations: 1.119 MB / 428.8 MB, free: 38.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.2331, allocations: 119.5 kB / 428.9 MB, free: 38.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/0.2332, allocations: 14.56 kB / 428.9 MB, free: 38.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.2334, allocations: 14.72 kB / 429 MB, free: 38.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.2335, allocations: 65.03 kB / 429 MB, free: 38.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.2335, allocations: 27.8 kB / 429 MB, free: 38.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002529/0.2338, allocations: 356.5 kB / 429.4 MB, free: 38.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2338, allocations: 2.656 kB / 429.4 MB, free: 38.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007876/0.2345, allocations: 444.8 kB / 429.8 MB, free: 38.54 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.0006584/0.2352, allocations: 0.5428 MB / 430.4 MB, free: 38.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008602/0.2361, allocations: 0.8731 MB / 431.2 MB, free: 38.08 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2361, allocations: 1.406 kB / 431.2 MB, free: 38.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.2365, allocations: 0.6346 MB / 431.9 MB, free: 37.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.2369, allocations: 170.2 kB / 432 MB, free: 37.71 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.2387, allocations: 1.328 MB / 433.4 MB, free: 37.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.794e-05/0.2388, allocations: 149.7 kB / 433.5 MB, free: 37.01 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002612/0.2391, allocations: 133.3 kB / 433.7 MB, free: 37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.2392, allocations: 88.55 kB / 433.7 MB, free: 37 MB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.2392, allocations: 0 / 433.7 MB, free: 37 MB / 330.7 MB Notification: Performance of Templates: time 0.0167/0.2559, allocations: 20.73 MB / 454.5 MB, free: 21.95 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5838278247974813]