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.001368/0.001368, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001679/0.001679, allocations: 218.5 kB / 22.25 MB, free: 5.105 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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.1429/0.1429, allocations: 23.88 MB / 336.3 MB, free: 10.95 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 71.89 kB / 471.6 MB, free: 7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3766, allocations: 59.85 MB / 0.519 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.00802/0.3846, allocations: 6.758 MB / 0.5256 GB, free: 5.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02929/0.4139, allocations: 20.58 MB / 0.5457 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.4157, allocations: 24.47 kB / 0.5457 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.4173, allocations: 441.9 kB / 0.5462 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007636/0.4249, allocations: 1.928 MB / 0.548 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01041/0.4353, allocations: 2.974 MB / 0.5509 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004466/0.4398, allocations: 2.123 MB / 0.553 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002113/0.4419, allocations: 1.038 MB / 0.554 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001889/0.4438, allocations: 1.094 MB / 0.5551 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.4458, allocations: 1.237 MB / 0.5563 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003081/0.4461, allocations: 192.1 kB / 0.5565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008481/0.4546, allocations: 2.452 MB / 0.5589 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007548/0.4553, allocations: 479 kB / 0.5593 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.4568, allocations: 0.8114 MB / 0.5601 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.017/0.4739, allocations: 4.832 MB / 0.5649 GB, free: 10.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.4739, allocations: 4 kB / 0.5649 GB, free: 10.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4739, allocations: 0 / 0.5649 GB, free: 10.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.887e-05/0.4739, allocations: 0 / 0.5649 GB, free: 10.7 MB / 414.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.005655/0.4796, allocations: 2.365 MB / 0.5672 GB, free: 8.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.4796, allocations: 8.031 kB / 0.5672 GB, free: 8.285 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/0.4814, allocations: 407.2 kB / 0.5676 GB, free: 7.887 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/0.4832, allocations: 0.836 MB / 0.5684 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/0.4834, allocations: 222.2 kB / 0.5686 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002978/0.4837, allocations: 152.3 kB / 0.5687 GB, free: 6.633 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003641/0.4874, allocations: 2.056 MB / 0.5708 GB, free: 4.539 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/0.4874, allocations: 7.938 kB / 0.5708 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.4876, allocations: 56 kB / 0.5708 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.4876, allocations: 32 kB / 0.5708 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004698/0.4923, allocations: 2.717 MB / 0.5735 GB, free: 1.723 MB / 414.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.01329/0.5056, allocations: 5.4 MB / 0.5788 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005916/0.5115, allocations: 2.798 MB / 0.5815 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.5132, allocations: 0.8051 MB / 0.5823 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/0.5232, allocations: 3.982 MB / 0.5862 GB, free: 4.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.5233, allocations: 47.56 kB / 0.5862 GB, free: 4.574 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001017/0.5243, allocations: 195 kB / 0.5864 GB, free: 4.383 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 7.254e-06/0.5243, allocations: 0 / 0.5864 GB, free: 4.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.02121/0.5455, allocations: 5.174 MB / 0.5915 GB, free: 15.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.5456, allocations: 76.66 kB / 0.5915 GB, free: 15.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.5471, allocations: 1.009 MB / 0.5925 GB, free: 14.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.5473, allocations: 49.7 kB / 0.5926 GB, free: 14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006808/0.548, allocations: 0.6992 MB / 0.5932 GB, free: 13.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005721/0.5485, allocations: 0.4958 MB / 0.5937 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006395/0.5492, allocations: 331.4 kB / 0.594 GB, free: 12.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.5494, allocations: 353.9 kB / 0.5944 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.5507, allocations: 0.6598 MB / 0.595 GB, free: 11.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.5523, allocations: 1.111 MB / 0.5961 GB, free: 10.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003061/0.5554, allocations: 1.812 MB / 0.5979 GB, free: 8.145 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/0.5554, allocations: 4 kB / 0.5979 GB, free: 8.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007125/0.5625, allocations: 2.416 MB / 0.6002 GB, free: 5.707 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.5626, allocations: 12 kB / 0.6003 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/0.5626, allocations: 15.94 kB / 0.6003 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002804/0.5654, allocations: 498.1 kB / 0.6007 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.5671, allocations: 415.4 kB / 0.6011 GB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006093/0.5732, allocations: 3.591 MB / 0.6047 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.5745, allocations: 56.05 kB / 0.6047 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003361/0.5749, allocations: 99.95 kB / 0.6048 GB, free: 0.8359 MB / 446.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.0008413/0.5757, allocations: 329.3 kB / 0.6051 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003975/0.5761, allocations: 119.2 kB / 0.6052 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006914/0.583, allocations: 2.12 MB / 0.6073 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.5831, allocations: 16 kB / 0.6073 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.5831, allocations: 11.88 kB / 0.6073 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/0.5831, allocations: 7.969 kB / 0.6073 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009028/0.5921, allocations: 3.164 MB / 0.6104 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.5921, allocations: 0 / 0.6104 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.5934, allocations: 271.6 kB / 0.6107 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002659/0.5961, allocations: 474.1 kB / 0.6111 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/0.5962, allocations: 43.97 kB / 0.6112 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005445/0.6017, allocations: 3.492 MB / 0.6146 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6017, allocations: 0 / 0.6146 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007833/0.6095, allocations: 2.75 MB / 0.6173 GB, free: 3.746 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004924/0.61, allocations: 115.2 kB / 0.6174 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/0.6103, allocations: 27.98 kB / 0.6174 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008842/0.6112, allocations: 32 kB / 0.6174 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003381/0.6116, allocations: 125.1 kB / 0.6176 GB, free: 3.449 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002581/0.6118, allocations: 55.97 kB / 0.6176 GB, free: 3.395 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001132/0.6129, allocations: 0.6747 MB / 0.6183 GB, free: 2.719 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6129, allocations: 4 kB / 0.6183 GB, free: 2.715 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003087/0.616, allocations: 0.9506 MB / 0.6192 GB, free: 1.762 MB / 462.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.002581/0.6186, allocations: 1.113 MB / 0.6203 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00393/0.6225, allocations: 1.847 MB / 0.6221 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6225, allocations: 0 / 0.6221 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.6246, allocations: 0.9856 MB / 0.6231 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.6259, allocations: 248.9 kB / 0.6233 GB, free: 13.51 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005349/0.6312, allocations: 2.691 MB / 0.6259 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007551/0.632, allocations: 0.5981 MB / 0.6265 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001218/0.6332, allocations: 324.7 kB / 0.6268 GB, free: 9.852 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005091/0.6337, allocations: 199.3 kB / 0.627 GB, free: 9.656 MB / 478.1 MB Notification: Performance of SimCode: time 7.81e-07/0.6337, allocations: 0 / 0.627 GB, free: 9.656 MB / 478.1 MB Notification: Performance of Templates: time 0.05883/0.6926, allocations: 36.77 MB / 0.6629 GB, free: 5.133 MB / 0.4981 GB " [Timeout remaining time 659] 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.502854630351067] Failed to read output from testmodel.py, exit status != 0: 0.7019741348922253 0.71644745 0.23919817099999996 Calling exit ...