Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001388/0.001388, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001602/0.001602, allocations: 165.6 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.448/1.448, 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.1273/0.1273, allocations: 17.38 MB / 276.6 MB, free: 15.28 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.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 412 MB, free: 4.434 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.94e-05/4.163e-05, allocations: 9.453 kB / 412 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.009908/0.00995, allocations: 6.721 MB / 418.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02857/0.03852, allocations: 20.58 MB / 439.3 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.03992, allocations: 27.75 kB / 439.3 MB, free: 8.984 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.04134, allocations: 444.5 kB / 439.7 MB, free: 8.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006386/0.04772, allocations: 1.986 MB / 441.7 MB, free: 6.547 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008724/0.05645, allocations: 3.063 MB / 444.8 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003476/0.05992, allocations: 2.199 MB / 447 MB, free: 1.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.06155, allocations: 1.029 MB / 448 MB, free: 204 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1717/0.2333, allocations: 1.482 MB / 449.5 MB, free: 18.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.2349, allocations: 1.004 MB / 450.5 MB, free: 18.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003199/0.2352, allocations: 195.3 kB / 450.7 MB, free: 18.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005848/0.2411, allocations: 2.409 MB / 453.1 MB, free: 18.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004526/0.2415, allocations: 487.2 kB / 453.6 MB, free: 18.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009115/0.2425, allocations: 0.6981 MB / 454.3 MB, free: 18.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009661/0.2521, allocations: 5.15 MB / 459.4 MB, free: 17.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2521, allocations: 0 / 459.4 MB, free: 17.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2521, allocations: 3.406 kB / 459.4 MB, free: 17.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.063e-05/0.2522, allocations: 0 / 459.4 MB, free: 17.84 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: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.005205/0.2574, allocations: 2.354 MB / 461.8 MB, free: 16.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2574, allocations: 10.78 kB / 461.8 MB, free: 16.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.2592, allocations: 401.5 kB / 462.2 MB, free: 16.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.2606, allocations: 0.8408 MB / 463 MB, free: 16.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.2608, allocations: 225 kB / 463.2 MB, free: 16.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/0.2611, allocations: 152.9 kB / 463.4 MB, free: 16.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003114/0.2642, allocations: 2.057 MB / 465.4 MB, free: 16.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/0.2642, allocations: 192 / 465.4 MB, free: 16.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.2644, allocations: 60.62 kB / 465.5 MB, free: 16.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.2644, allocations: 40.31 kB / 465.5 MB, free: 16.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003786/0.2682, allocations: 2.707 MB / 468.2 MB, free: 15.3 MB / 366.1 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.009105/0.2773, allocations: 5.398 MB / 473.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004318/0.2816, allocations: 2.805 MB / 476.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.2827, allocations: 0.7992 MB / 477.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007212/0.2899, allocations: 3.977 MB / 481.2 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.2899, allocations: 43.56 kB / 481.3 MB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008517/0.2908, allocations: 192.5 kB / 481.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of pre-optimization done (n=117): time 2.996e-06/0.2908, allocations: 4 kB / 481.5 MB, free: 8.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=140): time 0.01851/0.3093, allocations: 5.18 MB / 486.6 MB, free: 3.695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.3093, allocations: 68.72 kB / 486.7 MB, free: 3.617 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009045/0.3102, allocations: 1.005 MB / 487.7 MB, free: 2.602 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.3103, allocations: 49.7 kB / 487.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/0.3106, allocations: 0.6975 MB / 488.5 MB, free: 1.844 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.3108, allocations: 0.4975 MB / 489 MB, free: 1.352 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004135/0.3113, allocations: 327.4 kB / 489.3 MB, free: 1.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.3113, allocations: 365.3 kB / 489.6 MB, free: 0.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009078/0.3122, allocations: 0.6559 MB / 490.3 MB, free: 12 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.314, allocations: 1.111 MB / 491.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003158/0.3171, allocations: 1.811 MB / 493.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.3171, allocations: 11.38 kB / 493.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007429/0.3246, allocations: 2.409 MB / 495.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.3246, allocations: 12 kB / 495.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.56e-05/0.3246, allocations: 12 kB / 495.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003015/0.3277, allocations: 489.5 kB / 496.1 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.3294, allocations: 423.7 kB / 496.5 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006194/0.3356, allocations: 3.595 MB / 0.4884 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.3373, allocations: 52 kB / 0.4885 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/0.3375, allocations: 95.95 kB / 0.4886 GB, free: 5.621 MB / 382.1 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.0007608/0.3383, allocations: 334.6 kB / 0.4889 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.3386, allocations: 127.1 kB / 0.489 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007049/0.3456, allocations: 2.124 MB / 0.4911 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.3456, allocations: 15.98 kB / 0.4911 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3456, allocations: 4 kB / 0.4911 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.3457, allocations: 3.984 kB / 0.4911 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008714/0.3544, allocations: 3.172 MB / 0.4942 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3544, allocations: 0 / 0.4942 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.3556, allocations: 278 kB / 0.4945 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002927/0.3585, allocations: 462 kB / 0.4949 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/0.3587, allocations: 47.97 kB / 0.4949 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005526/0.3642, allocations: 3.493 MB / 0.4984 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.3642, allocations: 3.984 kB / 0.4984 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007746/0.3719, allocations: 2.74 MB / 0.501 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.3722, allocations: 115.1 kB / 0.5011 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.3724, allocations: 28 kB / 0.5012 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007927/0.3732, allocations: 35.98 kB / 0.5012 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/0.3735, allocations: 121.1 kB / 0.5013 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.3736, allocations: 55.97 kB / 0.5014 GB, free: 8.305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008947/0.3745, allocations: 0.6747 MB / 0.502 GB, free: 7.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3745, allocations: 0 / 0.502 GB, free: 7.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002925/0.3775, allocations: 0.9545 MB / 0.503 GB, free: 6.676 MB / 398.1 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.002207/0.3797, allocations: 1.157 MB / 0.5041 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003754/0.3834, allocations: 1.83 MB / 0.5059 GB, free: 3.844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3834, allocations: 0 / 0.5059 GB, free: 3.844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.3855, allocations: 0.9898 MB / 0.5069 GB, free: 2.859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.3867, allocations: 256.8 kB / 0.5071 GB, free: 2.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00503/0.3918, allocations: 2.579 MB / 0.5096 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006715/0.3924, allocations: 0.6059 MB / 0.5102 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001159/0.3936, allocations: 323 kB / 0.5105 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005398/0.3941, allocations: 204.3 kB / 0.5107 GB, free: 14.87 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3941, allocations: 0 / 0.5107 GB, free: 14.87 MB / 414.1 MB Notification: Performance of Templates: time 0.05712/0.4513, allocations: 34.33 MB / 0.5442 GB, free: 12.9 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.024961303919554] Failed to read output from testmodel.py, exit status != 0: 0.46113288775086403 0.475518052 0.21996025700000002 Calling exit ...