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.002143/0.002143, allocations: 85.48 kB / 19.44 MB, free: 344 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.002706/0.002706, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.588/1.588, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.1523/0.1523, allocations: 17.44 MB / 277 MB, free: 11.6 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.783e-06/1.783e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.305e-05, allocations: 2.312 kB / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.011/0.01103, allocations: 7.49 MB / 360.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03505/0.04608, allocations: 23.46 MB / 383.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.0476, allocations: 27.75 kB / 383.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.04909, allocations: 440.5 kB / 384.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006446/0.05554, allocations: 1.99 MB / 386.2 MB, free: 8.652 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009542/0.06508, allocations: 3.067 MB / 389.3 MB, free: 5.566 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00427/0.06935, allocations: 2.191 MB / 391.5 MB, free: 3.367 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.07135, allocations: 1.08 MB / 392.6 MB, free: 2.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/0.0743, allocations: 1.49 MB / 394.1 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002426/0.07672, allocations: 1.021 MB / 395.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004901/0.07721, allocations: 199.9 kB / 395.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009198/0.08641, allocations: 2.409 MB / 397.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001118/0.08753, allocations: 490.5 kB / 398.2 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.08919, allocations: 0.6939 MB / 398.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01436/0.1035, allocations: 5.164 MB / 404 MB, free: 6.766 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1035, allocations: 0 / 404 MB, free: 6.766 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1035, allocations: 0 / 404 MB, free: 6.766 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.288e-05/0.1036, allocations: 0 / 404 MB, free: 6.766 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.005891/0.1095, allocations: 2.563 MB / 406.6 MB, free: 4.148 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.469e-05/0.1096, allocations: 11.97 kB / 406.6 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002735/0.1123, allocations: 0.6538 MB / 407.2 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.1147, allocations: 0.8459 MB / 408.1 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/0.115, allocations: 222.2 kB / 408.3 MB, free: 2.367 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003234/0.1153, allocations: 148.3 kB / 408.5 MB, free: 2.223 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003728/0.119, allocations: 1.939 MB / 410.4 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.119, allocations: 192 / 410.4 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.1192, allocations: 64.12 kB / 410.5 MB, free: 184 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.1193, allocations: 36 kB / 410.5 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1333/0.2526, allocations: 2.385 MB / 412.9 MB, free: 64.88 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.01181/0.2644, allocations: 5.861 MB / 418.7 MB, free: 61.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005196/0.2696, allocations: 2.724 MB / 421.5 MB, free: 61.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.271, allocations: 0.7462 MB / 422.2 MB, free: 61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008166/0.2791, allocations: 4.196 MB / 426.4 MB, free: 58.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.2791, allocations: 52.62 kB / 426.5 MB, free: 58.31 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000867/0.28, allocations: 188.5 kB / 426.6 MB, free: 58.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 3.767e-06/0.28, allocations: 0 / 426.6 MB, free: 58.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.01924/0.2993, allocations: 5.196 MB / 431.8 MB, free: 53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.2993, allocations: 68.72 kB / 431.9 MB, free: 52.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009823/0.3003, allocations: 1.041 MB / 432.9 MB, free: 51.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.3004, allocations: 49.7 kB / 433 MB, free: 51.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.3007, allocations: 0.782 MB / 433.8 MB, free: 51.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000329/0.3011, allocations: 0.5313 MB / 434.3 MB, free: 50.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004483/0.3015, allocations: 377.1 kB / 434.7 MB, free: 50.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3016, allocations: 0.5534 MB / 435.2 MB, free: 49.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008245/0.3025, allocations: 0.5544 MB / 435.8 MB, free: 49.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.3035, allocations: 1.229 MB / 437 MB, free: 47.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.3055, allocations: 1.956 MB / 439 MB, free: 45.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.477e-06/0.3055, allocations: 7.688 kB / 439 MB, free: 45.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005728/0.3113, allocations: 2.298 MB / 441.3 MB, free: 43.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.3113, allocations: 18.56 kB / 441.3 MB, free: 43.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.3113, allocations: 12 kB / 441.3 MB, free: 43.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00385/0.3152, allocations: 0.5995 MB / 441.9 MB, free: 42.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.3166, allocations: 431.3 kB / 442.3 MB, free: 42.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004639/0.3212, allocations: 4.818 MB / 447.1 MB, free: 37.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.3225, allocations: 59.23 kB / 447.2 MB, free: 37.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.3226, allocations: 95.95 kB / 447.3 MB, free: 36.93 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.0005363/0.3232, allocations: 372.7 kB / 447.7 MB, free: 36.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.3235, allocations: 171.1 kB / 447.8 MB, free: 36.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005644/0.3291, allocations: 2.077 MB / 449.9 MB, free: 34.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.3291, allocations: 16 kB / 449.9 MB, free: 34.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3292, allocations: 0 / 449.9 MB, free: 34.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.3292, allocations: 7.969 kB / 449.9 MB, free: 34.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007087/0.3363, allocations: 3.358 MB / 453.3 MB, free: 30.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.3363, allocations: 0 / 453.3 MB, free: 30.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.3373, allocations: 279.6 kB / 453.6 MB, free: 30.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003739/0.3411, allocations: 0.581 MB / 454.1 MB, free: 30.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.3412, allocations: 47.95 kB / 454.2 MB, free: 30 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004308/0.3455, allocations: 4.719 MB / 458.9 MB, free: 25.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3455, allocations: 7.938 kB / 458.9 MB, free: 25.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006365/0.3519, allocations: 2.77 MB / 461.7 MB, free: 22.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.3522, allocations: 105.3 kB / 461.8 MB, free: 22.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/0.3525, allocations: 31.83 kB / 461.8 MB, free: 22.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007639/0.3532, allocations: 27.98 kB / 461.8 MB, free: 22.08 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002828/0.3535, allocations: 133 kB / 462 MB, free: 21.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.3536, allocations: 59.95 kB / 462 MB, free: 21.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006473/0.3543, allocations: 0.6161 MB / 462.6 MB, free: 21.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3543, allocations: 0 / 462.6 MB, free: 21.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002657/0.3569, allocations: 0.9524 MB / 463.6 MB, free: 20.36 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.002025/0.359, allocations: 1.15 MB / 464.7 MB, free: 19.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003207/0.3622, allocations: 1.95 MB / 466.7 MB, free: 17.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.3622, allocations: 4 kB / 466.7 MB, free: 17.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.3639, allocations: 1.153 MB / 467.9 MB, free: 16.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.3652, allocations: 305 kB / 468.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/0.3692, allocations: 2.626 MB / 470.8 MB, free: 13.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.3696, allocations: 0.5981 MB / 471.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00108/0.3707, allocations: 314.9 kB / 471.7 MB, free: 12.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/0.3711, allocations: 208.3 kB / 471.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of SimCode: time 1.653e-06/0.3711, allocations: 0 / 471.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of Templates: time 0.05344/0.4245, allocations: 34.75 MB / 0.4948 GB, free: 9.598 MB / 362.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: 6.405011340044439]