Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.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.0009738/0.0009738, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009759/0.0009759, allocations: 165 kB / 23.02 MB, free: 1.547 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.913/0.913, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.09115/0.09115, allocations: 17.47 MB / 277.4 MB, free: 11.56 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.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 353.6 MB, free: 9.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.007e-05, allocations: 8.5 kB / 353.6 MB, free: 9.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.008322/0.008352, allocations: 7.576 MB / 361.1 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01789/0.02624, allocations: 23.49 MB / 384.6 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007497/0.02699, allocations: 23.81 kB / 384.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009453/0.02793, allocations: 448.4 kB / 385.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.03157, allocations: 1.994 MB / 387.1 MB, free: 8.176 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005394/0.03697, allocations: 3.059 MB / 390.1 MB, free: 5.098 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001929/0.03889, allocations: 2.207 MB / 392.4 MB, free: 2.887 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.03999, allocations: 1.069 MB / 393.4 MB, free: 1.781 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.04146, allocations: 1.486 MB / 394.9 MB, free: 300 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.04276, allocations: 1.033 MB / 395.9 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003054/0.04306, allocations: 196 kB / 396.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004442/0.04751, allocations: 2.402 MB / 398.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003068/0.04781, allocations: 498.5 kB / 399 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00056/0.04837, allocations: 0.6978 MB / 399.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005753/0.05413, allocations: 4.447 MB / 404.2 MB, free: 7.008 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.05413, allocations: 3.984 kB / 404.2 MB, free: 7.004 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.05413, allocations: 0 / 404.2 MB, free: 7.004 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.62e-05/0.05417, allocations: 0 / 404.2 MB, free: 7.004 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: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.003157/0.05733, allocations: 2.47 MB / 406.6 MB, free: 4.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.05736, allocations: 12.02 kB / 406.6 MB, free: 4.469 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.05872, allocations: 0.6535 MB / 407.3 MB, free: 3.812 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.0598, allocations: 0.8498 MB / 408.2 MB, free: 2.938 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.05994, allocations: 218.3 kB / 408.4 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.06013, allocations: 152.3 kB / 408.5 MB, free: 2.551 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.06214, allocations: 1.506 MB / 410 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.06216, allocations: 192 / 410 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.06227, allocations: 64.12 kB / 410.1 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.0623, allocations: 36 kB / 410.1 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.123/0.1853, allocations: 1.624 MB / 411.7 MB, free: 58.55 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007419/0.1927, allocations: 4.907 MB / 416.6 MB, free: 57.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005009/0.1977, allocations: 3.088 MB / 419.7 MB, free: 56.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009032/0.1986, allocations: 0.5307 MB / 420.3 MB, free: 56.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005865/0.2045, allocations: 3.728 MB / 424 MB, free: 55.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.2045, allocations: 42.33 kB / 424 MB, free: 55.29 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005956/0.2051, allocations: 187.2 kB / 424.2 MB, free: 55.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 3.927e-06/0.2051, allocations: 2.594 kB / 424.2 MB, free: 55.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.01249/0.2176, allocations: 4.192 MB / 428.4 MB, free: 53.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.2177, allocations: 64.72 kB / 428.5 MB, free: 53.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007561/0.2184, allocations: 0.8703 MB / 429.3 MB, free: 52.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.786e-05/0.2185, allocations: 49.7 kB / 429.4 MB, free: 52.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.2188, allocations: 0.7515 MB / 430.1 MB, free: 52.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.219, allocations: 0.5061 MB / 430.7 MB, free: 51.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/0.2194, allocations: 329.1 kB / 431 MB, free: 51.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.2195, allocations: 0.5361 MB / 431.5 MB, free: 50.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006184/0.2201, allocations: 355.8 kB / 431.9 MB, free: 50.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007844/0.2209, allocations: 0.9829 MB / 432.8 MB, free: 49.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.2224, allocations: 1.443 MB / 434.3 MB, free: 47.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.2224, allocations: 4 kB / 434.3 MB, free: 47.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003973/0.2264, allocations: 1.796 MB / 436.1 MB, free: 45.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.2264, allocations: 16.12 kB / 436.1 MB, free: 45.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.2264, allocations: 16 kB / 436.1 MB, free: 45.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/0.2287, allocations: 495.7 kB / 436.6 MB, free: 45.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.2297, allocations: 419 kB / 437 MB, free: 45.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/0.2329, allocations: 4.369 MB / 441.4 MB, free: 40.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008118/0.2337, allocations: 55.98 kB / 441.4 MB, free: 40.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.2338, allocations: 95.97 kB / 441.5 MB, free: 40.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (212): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003395/0.2342, allocations: 261.5 kB / 441.8 MB, free: 40.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.2344, allocations: 167.2 kB / 441.9 MB, free: 39.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003424/0.2379, allocations: 1.65 MB / 443.6 MB, free: 38.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.2379, allocations: 16 kB / 443.6 MB, free: 38.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2379, allocations: 0 / 443.6 MB, free: 38.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.2379, allocations: 7.969 kB / 443.6 MB, free: 38.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00382/0.2417, allocations: 2.599 MB / 446.2 MB, free: 35.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2417, allocations: 0 / 446.2 MB, free: 35.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005601/0.2423, allocations: 277.5 kB / 446.5 MB, free: 35.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/0.2439, allocations: 475.1 kB / 447 MB, free: 34.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.202e-05/0.244, allocations: 51.14 kB / 447 MB, free: 34.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.2462, allocations: 4.276 MB / 451.3 MB, free: 30.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2462, allocations: 0 / 451.3 MB, free: 30.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002901/0.2491, allocations: 1.967 MB / 453.2 MB, free: 28.35 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.2492, allocations: 105.3 kB / 453.3 MB, free: 28.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.185e-05/0.2493, allocations: 28 kB / 453.4 MB, free: 28.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.2496, allocations: 36.05 kB / 453.4 MB, free: 28.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.2498, allocations: 121.1 kB / 453.5 MB, free: 28.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/0.2498, allocations: 63.97 kB / 453.6 MB, free: 28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003363/0.2502, allocations: 0.5145 MB / 454.1 MB, free: 27.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2502, allocations: 0 / 454.1 MB, free: 27.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001603/0.2518, allocations: 0.9518 MB / 455.1 MB, free: 26.64 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (solution.temperature,HCO3.logn,H.logn,CO2_liquid.logn,liquidWater.logn,OH.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 (144): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00125/0.253, allocations: 1.156 MB / 456.2 MB, free: 25.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.2547, allocations: 1.516 MB / 457.7 MB, free: 24.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2547, allocations: 0 / 457.7 MB, free: 24.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000827/0.2555, allocations: 0.9538 MB / 458.7 MB, free: 23.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007152/0.2562, allocations: 293 kB / 459 MB, free: 22.81 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.003067/0.2593, allocations: 2.435 MB / 461.4 MB, free: 20.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.2594, allocations: 269.8 kB / 461.7 MB, free: 20.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006162/0.26, allocations: 303.8 kB / 462 MB, free: 19.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.2603, allocations: 208.3 kB / 462.2 MB, free: 19.56 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.2603, allocations: 0 / 462.2 MB, free: 19.56 MB / 330.7 MB Notification: Performance of Templates: time 0.03098/0.2913, allocations: 34.64 MB / 496.8 MB, free: 1.242 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0133746936917305]