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.001275/0.001275, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001431/0.001431, allocations: 181 kB / 23.36 MB, free: 1.133 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.9154/0.9154, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.09802/0.09802, allocations: 17.46 MB / 277.7 MB, free: 11.43 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.192e-06/1.192e-06, allocations: 0 / 300.7 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.846e-05, allocations: 3.688 kB / 300.7 MB, free: 1.703 MB / 266.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.03152/0.03153, allocations: 34.11 MB / 334.8 MB, free: 2.266 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008939/0.04047, allocations: 10.09 MB / 344.9 MB, free: 8.129 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003502/0.04082, allocations: 7.938 kB / 344.9 MB, free: 8.121 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004693/0.04129, allocations: 222.2 kB / 345.2 MB, free: 7.902 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.04237, allocations: 0.601 MB / 345.8 MB, free: 7.297 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002609/0.04498, allocations: 1.521 MB / 347.3 MB, free: 5.766 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008265/0.0458, allocations: 0.9813 MB / 348.3 MB, free: 4.781 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004363/0.04624, allocations: 451.7 kB / 348.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005037/0.04674, allocations: 0.5966 MB / 349.3 MB, free: 3.734 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006484/0.04739, allocations: 391 kB / 349.7 MB, free: 3.352 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.207e-05/0.04748, allocations: 84 kB / 349.8 MB, free: 3.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.04903, allocations: 0.998 MB / 350.8 MB, free: 2.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.04917, allocations: 199.3 kB / 351 MB, free: 2.074 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.04938, allocations: 307.4 kB / 351.3 MB, free: 1.773 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002029/0.05141, allocations: 1.86 MB / 353.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.05141, allocations: 0 / 353.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.05141, allocations: 0 / 353.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.05143, allocations: 0 / 353.1 MB, free: 15.91 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.001361/0.05279, allocations: 1.137 MB / 354.3 MB, free: 14.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.05282, allocations: 8.031 kB / 354.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005806/0.0534, allocations: 355.5 kB / 354.6 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/0.05383, allocations: 359.5 kB / 355 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.479e-05/0.05386, allocations: 54.38 kB / 355 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.112e-05/0.05394, allocations: 68.31 kB / 355.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.05447, allocations: 0.5867 MB / 355.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.05449, allocations: 192 / 355.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/0.05452, allocations: 24.38 kB / 355.7 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.05454, allocations: 19.94 kB / 355.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005286/0.05507, allocations: 480.4 kB / 356.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.05747, allocations: 1.639 MB / 357.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006498/0.05812, allocations: 0.6529 MB / 358.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.05826, allocations: 138.7 kB / 358.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001562/0.05982, allocations: 1.265 MB / 359.9 MB, free: 9.012 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.05984, allocations: 43 kB / 359.9 MB, free: 8.957 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.963e-06/0.05985, allocations: 0 / 359.9 MB, free: 8.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.00582/0.06567, allocations: 2.443 MB / 362.4 MB, free: 6.473 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.06569, allocations: 64.06 kB / 362.4 MB, free: 6.398 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.06599, allocations: 468.7 kB / 362.9 MB, free: 5.926 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.06603, allocations: 37.7 kB / 362.9 MB, free: 5.883 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.06616, allocations: 329.2 kB / 363.2 MB, free: 5.551 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.06627, allocations: 245.8 kB / 363.5 MB, free: 5.309 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.06643, allocations: 146.5 kB / 363.6 MB, free: 5.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0005395/0.06697, allocations: 374.6 kB / 364 MB, free: 4.785 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.0671, allocations: 104.8 kB / 364.1 MB, free: 4.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.06729, allocations: 282.8 kB / 364.4 MB, free: 4.355 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.06767, allocations: 453.4 kB / 364.8 MB, free: 3.848 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.06767, allocations: 4 kB / 364.8 MB, free: 3.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001132/0.0688, allocations: 0.6353 MB / 365.4 MB, free: 3.188 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.06882, allocations: 4 kB / 365.5 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.06883, allocations: 4.281 kB / 365.5 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.06994, allocations: 349 kB / 365.8 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.0703, allocations: 187.7 kB / 366 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.0724, allocations: 3.13 MB / 369.1 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.07262, allocations: 20 kB / 369.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.07266, allocations: 31.98 kB / 369.2 MB, free: 15.27 MB / 346.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.0001467/0.07281, allocations: 160.4 kB / 369.3 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.301e-05/0.07288, allocations: 56.05 kB / 369.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.07405, allocations: 0.6605 MB / 370 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.07406, allocations: 8 kB / 370 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.07406, allocations: 3.984 kB / 370 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.07407, allocations: 4 kB / 370 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.07599, allocations: 1.132 MB / 371.2 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.07599, allocations: 4 kB / 371.2 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.07625, allocations: 136 kB / 371.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.07735, allocations: 329 kB / 371.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/0.07738, allocations: 27.98 kB / 371.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.07922, allocations: 3.081 MB / 374.7 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.07922, allocations: 8.062 kB / 374.8 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.08046, allocations: 0.8867 MB / 375.6 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.08059, allocations: 75.59 kB / 375.7 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.08064, allocations: 15.98 kB / 375.7 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.0808, allocations: 16 kB / 375.7 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.08088, allocations: 56.55 kB / 375.8 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.08091, allocations: 23.94 kB / 375.8 MB, free: 8.246 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001448/0.08105, allocations: 212.5 kB / 376 MB, free: 8.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.08105, allocations: 0 / 376 MB, free: 8.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000792/0.08184, allocations: 442.8 kB / 376.5 MB, free: 7.602 MB / 346.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.000652/0.0825, allocations: 0.5457 MB / 377 MB, free: 7.043 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006617/0.08316, allocations: 0.6574 MB / 377.7 MB, free: 6.359 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/0.08317, allocations: 8 kB / 377.7 MB, free: 6.352 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000598/0.08377, allocations: 478.8 kB / 378.1 MB, free: 5.855 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.08419, allocations: 170.3 kB / 378.3 MB, free: 5.688 MB / 346.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.0859, allocations: 1.28 MB / 379.6 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.862e-05/0.08599, allocations: 151.3 kB / 379.7 MB, free: 4.184 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002919/0.08629, allocations: 136.2 kB / 379.9 MB, free: 4.055 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.08659, allocations: 213.2 kB / 380.1 MB, free: 3.844 MB / 346.7 MB Notification: Performance of SimCode: time 6.81e-07/0.08659, allocations: 0 / 380.1 MB, free: 3.844 MB / 346.7 MB Notification: Performance of Templates: time 0.02206/0.1087, allocations: 20.98 MB / 401.1 MB, free: 14.95 MB / 378.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.220978861209005]