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.00132/0.00132, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001475/0.001475, allocations: 222.6 kB / 23 MB, free: 4.91 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: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 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.1403/0.1403, allocations: 23.99 MB / 337.2 MB, free: 10.88 MB / 270.1 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: 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.002251/0.002251, allocations: 79.81 kB / 472.5 MB, free: 6.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3339, allocations: 59.88 MB / 0.52 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007127/0.341, allocations: 6.76 MB / 0.5266 GB, free: 5.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02647/0.3675, allocations: 20.57 MB / 0.5466 GB, free: 7.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.3688, allocations: 27.91 kB / 0.5467 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.3704, allocations: 436.2 kB / 0.5471 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006421/0.3768, allocations: 1.921 MB / 0.549 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009484/0.3863, allocations: 2.979 MB / 0.5519 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00373/0.39, allocations: 2.134 MB / 0.554 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.3916, allocations: 1.012 MB / 0.5549 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.3933, allocations: 1.089 MB / 0.556 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.3952, allocations: 1.113 MB / 0.5571 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003192/0.3955, allocations: 192.4 kB / 0.5573 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007357/0.4028, allocations: 2.392 MB / 0.5596 GB, free: 52 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006417/0.4035, allocations: 486.9 kB / 0.5601 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.4047, allocations: 0.8041 MB / 0.5609 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0109/0.4156, allocations: 4.837 MB / 0.5656 GB, free: 10.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4156, allocations: 0 / 0.5656 GB, free: 10.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4156, allocations: 0 / 0.5656 GB, free: 10.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.995e-05/0.4157, allocations: 0 / 0.5656 GB, free: 10.73 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.004761/0.4204, allocations: 2.377 MB / 0.5679 GB, free: 8.305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4205, allocations: 8.031 kB / 0.5679 GB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.4222, allocations: 406.9 kB / 0.5683 GB, free: 7.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.4238, allocations: 0.8477 MB / 0.5691 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.424, allocations: 218.3 kB / 0.5693 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002797/0.4243, allocations: 152.3 kB / 0.5695 GB, free: 6.637 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003451/0.4278, allocations: 2.06 MB / 0.5715 GB, free: 4.539 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.4278, allocations: 0 / 0.5715 GB, free: 4.539 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/0.4279, allocations: 59.98 kB / 0.5716 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/0.428, allocations: 36 kB / 0.5716 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004349/0.4323, allocations: 2.713 MB / 0.5742 GB, free: 1.727 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.01083/0.4432, allocations: 5.392 MB / 0.5795 GB, free: 12.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005333/0.4485, allocations: 2.794 MB / 0.5822 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.4499, allocations: 0.8079 MB / 0.583 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009041/0.4589, allocations: 3.99 MB / 0.5869 GB, free: 4.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.459, allocations: 43.56 kB / 0.587 GB, free: 4.594 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009077/0.4599, allocations: 195.1 kB / 0.5871 GB, free: 4.402 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.296e-06/0.4599, allocations: 0 / 0.5871 GB, free: 4.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.02014/0.48, allocations: 5.166 MB / 0.5922 GB, free: 15.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.4801, allocations: 76.64 kB / 0.5923 GB, free: 15.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.4814, allocations: 1.005 MB / 0.5932 GB, free: 14.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.4816, allocations: 49.7 kB / 0.5933 GB, free: 14.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005656/0.4821, allocations: 0.7109 MB / 0.594 GB, free: 13.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004706/0.4826, allocations: 0.4958 MB / 0.5945 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005031/0.4831, allocations: 335.4 kB / 0.5948 GB, free: 12.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.4833, allocations: 353.9 kB / 0.5951 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.4845, allocations: 0.6559 MB / 0.5958 GB, free: 11.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.4861, allocations: 1.115 MB / 0.5969 GB, free: 10.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002845/0.4889, allocations: 1.804 MB / 0.5986 GB, free: 8.164 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.4889, allocations: 4 kB / 0.5986 GB, free: 8.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006649/0.4956, allocations: 2.42 MB / 0.601 GB, free: 5.723 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.4956, allocations: 8 kB / 0.601 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.547e-05/0.4956, allocations: 19.94 kB / 0.601 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002749/0.4984, allocations: 494.1 kB / 0.6015 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.4999, allocations: 415.4 kB / 0.6019 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005725/0.5056, allocations: 3.599 MB / 0.6054 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.5069, allocations: 52 kB / 0.6054 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/0.5071, allocations: 100 kB / 0.6055 GB, free: 0.8516 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.0006436/0.5077, allocations: 337.2 kB / 0.6059 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.508, allocations: 123.2 kB / 0.606 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006457/0.5145, allocations: 2.117 MB / 0.608 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.5145, allocations: 20 kB / 0.6081 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5145, allocations: 4 kB / 0.6081 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/0.5145, allocations: 11.97 kB / 0.6081 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008236/0.5228, allocations: 3.16 MB / 0.6112 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.5228, allocations: 0 / 0.6112 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.524, allocations: 279.6 kB / 0.6114 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002642/0.5266, allocations: 458 kB / 0.6119 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/0.5267, allocations: 51.95 kB / 0.6119 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005219/0.532, allocations: 3.504 MB / 0.6153 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.532, allocations: 64 / 0.6153 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00711/0.5391, allocations: 2.746 MB / 0.618 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002974/0.5394, allocations: 111.2 kB / 0.6181 GB, free: 3.641 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.5396, allocations: 28 kB / 0.6182 GB, free: 3.613 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007075/0.5403, allocations: 27.98 kB / 0.6182 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002778/0.5405, allocations: 129.1 kB / 0.6183 GB, free: 3.457 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.5407, allocations: 51.97 kB / 0.6184 GB, free: 3.406 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008617/0.5415, allocations: 0.6747 MB / 0.619 GB, free: 2.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5415, allocations: 0 / 0.619 GB, free: 2.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002648/0.5442, allocations: 0.9545 MB / 0.6199 GB, free: 1.773 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.002076/0.5462, allocations: 1.121 MB / 0.621 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003743/0.55, allocations: 1.832 MB / 0.6228 GB, free: 14.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.55, allocations: 0 / 0.6228 GB, free: 14.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001916/0.5519, allocations: 0.9935 MB / 0.6238 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.5531, allocations: 250.9 kB / 0.624 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/0.5585, allocations: 2.728 MB / 0.6267 GB, free: 10.76 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006862/0.5592, allocations: 0.5942 MB / 0.6273 GB, free: 10.13 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007566/0.5599, allocations: 267.2 kB / 0.6275 GB, free: 9.871 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5599, allocations: 3.938 kB / 0.6275 GB, free: 9.867 MB / 478.1 MB Notification: Performance of Templates: time 0.05946/0.6194, allocations: 44.04 MB / 0.6705 GB, free: 13.93 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.38915815576911] Failed to read output from testmodel.py, exit status != 0: 0.6288366289809346 0.645089217 0.22600175700000003 Calling exit ...