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.001525/0.001525, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001371/0.001371, allocations: 162.3 kB / 23.01 MB, free: 4.602 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.341/1.341, allocations: 177.2 MB / 203.4 MB, free: 8.867 MB / 190.1 MB " [Timeout remaining time 179] 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.1214/0.1214, allocations: 17.37 MB / 277.1 MB, free: 15.25 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.001956/0.001956, allocations: 71.02 kB / 412.4 MB, free: 5.699 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09581/0.09777, allocations: 59.84 MB / 472.3 MB, free: 9.742 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.008493/0.1063, allocations: 6.76 MB / 479 MB, free: 2.949 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2045/0.3108, allocations: 20.58 MB / 499.6 MB, free: 35.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008148/0.3116, allocations: 23.94 kB / 499.6 MB, free: 35.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.3126, allocations: 440.2 kB / 0.4884 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003761/0.3164, allocations: 1.922 MB / 0.4902 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005977/0.3223, allocations: 2.978 MB / 0.4931 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.3242, allocations: 2.127 MB / 0.4952 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008506/0.325, allocations: 1.008 MB / 0.4962 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007828/0.3258, allocations: 1.093 MB / 0.4973 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.327, allocations: 1.113 MB / 0.4984 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002524/0.3272, allocations: 192.6 kB / 0.4985 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005283/0.3325, allocations: 2.393 MB / 0.5009 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003524/0.3329, allocations: 481.1 kB / 0.5013 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006817/0.3336, allocations: 0.8041 MB / 0.5021 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00735/0.3409, allocations: 4.834 MB / 0.5068 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3409, allocations: 0 / 0.5068 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3409, allocations: 0 / 0.5068 GB, free: 27.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.562e-05/0.3409, allocations: 0 / 0.5068 GB, free: 27.09 MB / 446.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.003726/0.3447, allocations: 2.368 MB / 0.5092 GB, free: 25.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.3447, allocations: 9.656 kB / 0.5092 GB, free: 25.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/0.3462, allocations: 403.8 kB / 0.5095 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.3474, allocations: 0.8459 MB / 0.5104 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.3475, allocations: 217.5 kB / 0.5106 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.3477, allocations: 153.1 kB / 0.5107 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002935/0.3507, allocations: 2.064 MB / 0.5127 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.238e-05/0.3507, allocations: 0 / 0.5127 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/0.3509, allocations: 56.62 kB / 0.5128 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.3509, allocations: 34.12 kB / 0.5128 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003544/0.3544, allocations: 2.707 MB / 0.5155 GB, free: 23.19 MB / 446.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.009373/0.3638, allocations: 5.401 MB / 0.5207 GB, free: 20.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/0.3684, allocations: 2.795 MB / 0.5235 GB, free: 19.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.3695, allocations: 0.8065 MB / 0.5243 GB, free: 19.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007763/0.3773, allocations: 3.983 MB / 0.5282 GB, free: 17.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.3773, allocations: 44.64 kB / 0.5282 GB, free: 17.41 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008446/0.3781, allocations: 199 kB / 0.5284 GB, free: 17.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 3.256e-06/0.3781, allocations: 4.906 kB / 0.5284 GB, free: 17.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.01901/0.3971, allocations: 5.167 MB / 0.5334 GB, free: 15.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.3972, allocations: 72.03 kB / 0.5335 GB, free: 15.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.3982, allocations: 1.017 MB / 0.5345 GB, free: 14.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.159e-05/0.3983, allocations: 53.61 kB / 0.5345 GB, free: 14.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.3986, allocations: 0.7002 MB / 0.5352 GB, free: 14.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.3989, allocations: 0.4975 MB / 0.5357 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004499/0.3993, allocations: 335 kB / 0.536 GB, free: 13.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.243e-05/0.3994, allocations: 353.3 kB / 0.5364 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009943/0.4004, allocations: 0.6565 MB / 0.537 GB, free: 13.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.4016, allocations: 1.116 MB / 0.5381 GB, free: 12.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.4036, allocations: 1.811 MB / 0.5399 GB, free: 11.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.4036, allocations: 6.062 kB / 0.5399 GB, free: 11.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006105/0.4097, allocations: 2.411 MB / 0.5422 GB, free: 10.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.4098, allocations: 10.41 kB / 0.5422 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/0.4098, allocations: 15.47 kB / 0.5423 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00273/0.4125, allocations: 492.9 kB / 0.5427 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.4139, allocations: 423.7 kB / 0.5431 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004274/0.4182, allocations: 3.592 MB / 0.5466 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.4194, allocations: 54.48 kB / 0.5467 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.4196, allocations: 98.61 kB / 0.5468 GB, free: 5.941 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.0005362/0.4201, allocations: 331.7 kB / 0.5471 GB, free: 5.613 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/0.4203, allocations: 123.2 kB / 0.5472 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005672/0.426, allocations: 2.118 MB / 0.5493 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.426, allocations: 16 kB / 0.5493 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.426, allocations: 4 kB / 0.5493 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.426, allocations: 9.469 kB / 0.5493 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006837/0.4328, allocations: 3.163 MB / 0.5524 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4329, allocations: 4.5 kB / 0.5524 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.4339, allocations: 271.2 kB / 0.5527 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002421/0.4363, allocations: 472.9 kB / 0.5531 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-05/0.4364, allocations: 47.97 kB / 0.5532 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00508/0.4415, allocations: 3.492 MB / 0.5566 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4415, allocations: 8.094 kB / 0.5566 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007083/0.4485, allocations: 2.738 MB / 0.5593 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.4488, allocations: 111.3 kB / 0.5594 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/0.449, allocations: 31.98 kB / 0.5594 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007547/0.4498, allocations: 31.92 kB / 0.5594 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/0.4501, allocations: 137 kB / 0.5596 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.4502, allocations: 51.97 kB / 0.5596 GB, free: 9.438 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008821/0.4511, allocations: 0.6708 MB / 0.5603 GB, free: 8.766 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4511, allocations: 0 / 0.5603 GB, free: 8.766 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002732/0.4538, allocations: 0.9584 MB / 0.5612 GB, free: 7.805 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.002141/0.456, allocations: 1.127 MB / 0.5623 GB, free: 6.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003743/0.4597, allocations: 1.832 MB / 0.5641 GB, free: 4.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4597, allocations: 128 / 0.5641 GB, free: 4.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001942/0.4616, allocations: 0.9934 MB / 0.5651 GB, free: 3.801 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.4629, allocations: 256.6 kB / 0.5653 GB, free: 3.559 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005073/0.468, allocations: 2.676 MB / 0.5679 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/0.4687, allocations: 0.602 MB / 0.5685 GB, free: 212 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001211/0.4699, allocations: 326.5 kB / 0.5688 GB, free: 15.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005045/0.4704, allocations: 204.4 kB / 0.569 GB, free: 15.7 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4704, allocations: 0 / 0.569 GB, free: 15.7 MB / 478.1 MB Notification: Performance of Templates: time 0.05492/0.5253, allocations: 34.33 MB / 0.6025 GB, free: 13.61 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 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.766522997058928] Failed to read output from testmodel.py, exit status != 0: 0.5337606179527938 0.548662283 0.204566942 Calling exit ...