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.001236/0.001236, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001447/0.001447, allocations: 218.2 kB / 22.25 MB, free: 5.125 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.353/1.353, allocations: 230.6 MB / 256 MB, free: 7.973 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.1286/0.1286, allocations: 23.86 MB / 336.3 MB, free: 11.17 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.001958/0.001958, allocations: 71.89 kB / 471.7 MB, free: 7.164 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2636, allocations: 59.85 MB / 0.5191 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.006774/0.2704, allocations: 7.657 MB / 0.5265 GB, free: 4.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02674/0.2971, allocations: 23.51 MB / 0.5495 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.2982, allocations: 29.12 kB / 0.5495 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.2994, allocations: 480.5 kB / 0.55 GB, free: 3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004955/0.3044, allocations: 1.971 MB / 0.5519 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007932/0.3123, allocations: 2.974 MB / 0.5548 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00265/0.315, allocations: 2.128 MB / 0.5569 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.3162, allocations: 1.034 MB / 0.5579 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.3173, allocations: 1.085 MB / 0.559 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.3189, allocations: 1.24 MB / 0.5602 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000253/0.3192, allocations: 192.8 kB / 0.5604 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007445/0.3266, allocations: 2.541 MB / 0.5628 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004609/0.3271, allocations: 482.9 kB / 0.5633 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009689/0.328, allocations: 0.9523 MB / 0.5642 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008674/0.3367, allocations: 4.853 MB / 0.569 GB, free: 6.773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3367, allocations: 4 kB / 0.569 GB, free: 6.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3367, allocations: 0 / 0.569 GB, free: 6.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.3367, allocations: 0 / 0.569 GB, free: 6.77 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.00474/0.3415, allocations: 2.372 MB / 0.5713 GB, free: 4.355 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3415, allocations: 8.031 kB / 0.5713 GB, free: 4.348 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.3432, allocations: 403.2 kB / 0.5717 GB, free: 3.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.3447, allocations: 0.836 MB / 0.5725 GB, free: 3.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/0.3449, allocations: 230.2 kB / 0.5727 GB, free: 2.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002621/0.3451, allocations: 152.3 kB / 0.5729 GB, free: 2.691 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/0.3484, allocations: 2.06 MB / 0.5749 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.3484, allocations: 0 / 0.5749 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.3486, allocations: 56 kB / 0.5749 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.3486, allocations: 39.94 kB / 0.575 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004257/0.3528, allocations: 2.74 MB / 0.5776 GB, free: 13.75 MB / 430.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.01121/0.3641, allocations: 6.515 MB / 0.584 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005218/0.3693, allocations: 2.872 MB / 0.5868 GB, free: 4.148 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.3706, allocations: 0.805 MB / 0.5876 GB, free: 3.344 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008665/0.3792, allocations: 4.218 MB / 0.5917 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.3793, allocations: 47.5 kB / 0.5918 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008819/0.3802, allocations: 199 kB / 0.5919 GB, free: 14.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 2.545e-06/0.3802, allocations: 4 kB / 0.5919 GB, free: 14.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02071/0.4009, allocations: 5.185 MB / 0.597 GB, free: 9.613 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.4009, allocations: 68.72 kB / 0.5971 GB, free: 9.535 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.4022, allocations: 1.05 MB / 0.5981 GB, free: 8.461 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.271e-05/0.4023, allocations: 45.7 kB / 0.5981 GB, free: 8.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005319/0.4029, allocations: 0.6994 MB / 0.5988 GB, free: 7.699 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004299/0.4033, allocations: 0.4996 MB / 0.5993 GB, free: 7.195 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005178/0.4038, allocations: 327.4 kB / 0.5996 GB, free: 6.867 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4039, allocations: 309.1 kB / 0.5999 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.4051, allocations: 0.652 MB / 0.6006 GB, free: 5.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.4067, allocations: 1.111 MB / 0.6016 GB, free: 4.598 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/0.4095, allocations: 1.812 MB / 0.6034 GB, free: 2.594 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.4095, allocations: 4 kB / 0.6034 GB, free: 2.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006989/0.4165, allocations: 2.416 MB / 0.6058 GB, free: 160 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.4165, allocations: 15.94 kB / 0.6058 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.4165, allocations: 12 kB / 0.6058 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002959/0.4195, allocations: 0.4904 MB / 0.6063 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.4209, allocations: 419.4 kB / 0.6067 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005737/0.4266, allocations: 3.664 MB / 0.6103 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.4277, allocations: 60.11 kB / 0.6103 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.4279, allocations: 99.94 kB / 0.6104 GB, free: 11.17 MB / 462.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.0005883/0.4284, allocations: 337.9 kB / 0.6107 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/0.4287, allocations: 123.2 kB / 0.6109 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006697/0.4354, allocations: 2.125 MB / 0.6129 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.4354, allocations: 19.94 kB / 0.6129 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.4354, allocations: 4 kB / 0.613 GB, free: 8.543 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.4354, allocations: 7.969 kB / 0.613 GB, free: 8.535 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008444/0.4439, allocations: 3.518 MB / 0.6164 GB, free: 4.957 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4439, allocations: 0 / 0.6164 GB, free: 4.957 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.445, allocations: 279.7 kB / 0.6167 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002839/0.4478, allocations: 466 kB / 0.6171 GB, free: 4.219 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.448, allocations: 47.97 kB / 0.6172 GB, free: 4.172 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005341/0.4533, allocations: 3.577 MB / 0.6206 GB, free: 376 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4533, allocations: 0 / 0.6206 GB, free: 376 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007276/0.4606, allocations: 2.746 MB / 0.6233 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.4608, allocations: 111.2 kB / 0.6234 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/0.461, allocations: 35.92 kB / 0.6235 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007297/0.4617, allocations: 28 kB / 0.6235 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.462, allocations: 129.1 kB / 0.6236 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.4621, allocations: 59.91 kB / 0.6237 GB, free: 13.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008961/0.463, allocations: 0.7186 MB / 0.6244 GB, free: 12.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.463, allocations: 0 / 0.6244 GB, free: 12.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002508/0.4655, allocations: 0.9584 MB / 0.6253 GB, free: 11.54 MB / 478.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.001875/0.4674, allocations: 1.105 MB / 0.6264 GB, free: 10.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003553/0.4709, allocations: 1.838 MB / 0.6282 GB, free: 8.566 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4709, allocations: 0 / 0.6282 GB, free: 8.566 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001938/0.4728, allocations: 0.987 MB / 0.6292 GB, free: 7.551 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.474, allocations: 263 kB / 0.6294 GB, free: 7.293 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004807/0.4788, allocations: 2.687 MB / 0.632 GB, free: 4.574 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008718/0.4796, allocations: 1.187 MB / 0.6332 GB, free: 3.359 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001077/0.4807, allocations: 325.1 kB / 0.6335 GB, free: 3.055 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/0.4812, allocations: 219.2 kB / 0.6337 GB, free: 2.844 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4812, allocations: 0 / 0.6337 GB, free: 2.844 MB / 478.1 MB Notification: Performance of Templates: time 0.05443/0.5356, allocations: 35.71 MB / 0.6686 GB, free: 15.26 MB / 0.5137 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: 5.8592122150585055] Failed to read output from testmodel.py, exit status != 0: 0.5437563098967075 0.5574840910000001 0.21779647800000002 Calling exit ...