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.001627/0.001627, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.002069/0.002069, allocations: 210.4 kB / 22.99 MB, free: 4.41 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.1359/0.1359, allocations: 23.93 MB / 337.1 MB, free: 10.91 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.002031/0.002031, allocations: 74.39 kB / 472.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.318, allocations: 59.88 MB / 0.5198 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007226/0.3252, allocations: 6.74 MB / 0.5264 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0264/0.3516, allocations: 20.58 MB / 0.5465 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.3536, allocations: 27.72 kB / 0.5465 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.3552, allocations: 433.8 kB / 0.547 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006765/0.3619, allocations: 1.929 MB / 0.5488 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009694/0.3716, allocations: 2.973 MB / 0.5517 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003629/0.3753, allocations: 2.134 MB / 0.5538 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/0.3768, allocations: 1.03 MB / 0.5548 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.3785, allocations: 1.089 MB / 0.5559 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002014/0.3805, allocations: 1.238 MB / 0.5571 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003606/0.3809, allocations: 195.7 kB / 0.5573 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008345/0.3892, allocations: 2.452 MB / 0.5597 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007421/0.39, allocations: 487.2 kB / 0.5602 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001496/0.3915, allocations: 0.8082 MB / 0.5609 GB, free: 15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.4035, allocations: 4.837 MB / 0.5657 GB, free: 10.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.4035, allocations: 0 / 0.5657 GB, free: 10.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4035, allocations: 0 / 0.5657 GB, free: 10.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.519e-05/0.4036, allocations: 0 / 0.5657 GB, free: 10.61 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.004796/0.4083, allocations: 2.369 MB / 0.568 GB, free: 8.199 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.4084, allocations: 8.031 kB / 0.568 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.4101, allocations: 403 kB / 0.5684 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.4118, allocations: 0.8516 MB / 0.5692 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.412, allocations: 214.3 kB / 0.5694 GB, free: 6.684 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002882/0.4123, allocations: 152.3 kB / 0.5696 GB, free: 6.535 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003339/0.4156, allocations: 2.064 MB / 0.5716 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/0.4157, allocations: 0 / 0.5716 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.4158, allocations: 56 kB / 0.5716 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/0.4159, allocations: 36 kB / 0.5717 GB, free: 4.344 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004445/0.4203, allocations: 2.709 MB / 0.5743 GB, free: 1.629 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.01151/0.4318, allocations: 5.4 MB / 0.5796 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005615/0.4374, allocations: 2.798 MB / 0.5823 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.4389, allocations: 0.7973 MB / 0.5831 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009374/0.4482, allocations: 3.986 MB / 0.587 GB, free: 4.543 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.4483, allocations: 43.56 kB / 0.587 GB, free: 4.488 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009617/0.4492, allocations: 195.1 kB / 0.5872 GB, free: 4.297 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 4.689e-06/0.4492, allocations: 0 / 0.5872 GB, free: 4.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.01976/0.469, allocations: 5.174 MB / 0.5923 GB, free: 15.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.4691, allocations: 72.66 kB / 0.5923 GB, free: 15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.4704, allocations: 1.009 MB / 0.5933 GB, free: 13.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.4706, allocations: 53.7 kB / 0.5934 GB, free: 13.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005617/0.4711, allocations: 0.6954 MB / 0.594 GB, free: 13.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000498/0.4716, allocations: 0.4997 MB / 0.5945 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005392/0.4722, allocations: 335.4 kB / 0.5949 GB, free: 12.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.4724, allocations: 357.9 kB / 0.5952 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.4736, allocations: 0.652 MB / 0.5958 GB, free: 11.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/0.4752, allocations: 1.119 MB / 0.5969 GB, free: 10.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/0.4781, allocations: 1.804 MB / 0.5987 GB, free: 8.059 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-05/0.4781, allocations: 4 kB / 0.5987 GB, free: 8.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006623/0.4847, allocations: 2.42 MB / 0.6011 GB, free: 5.617 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.4847, allocations: 8 kB / 0.6011 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/0.4848, allocations: 23.88 kB / 0.6011 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002646/0.4874, allocations: 490.1 kB / 0.6015 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/0.4891, allocations: 415.4 kB / 0.6019 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005638/0.4947, allocations: 3.594 MB / 0.6055 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.496, allocations: 55.98 kB / 0.6055 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/0.4962, allocations: 95.95 kB / 0.6056 GB, free: 0.7539 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.0007457/0.4969, allocations: 337.3 kB / 0.6059 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/0.4973, allocations: 123.2 kB / 0.606 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006257/0.5035, allocations: 2.12 MB / 0.6081 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.5035, allocations: 19.94 kB / 0.6081 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5035, allocations: 0 / 0.6081 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.08e-05/0.5035, allocations: 7.969 kB / 0.6081 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008036/0.5116, allocations: 3.171 MB / 0.6112 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.5116, allocations: 0 / 0.6112 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/0.5127, allocations: 275.6 kB / 0.6115 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00255/0.5153, allocations: 470 kB / 0.6119 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/0.5154, allocations: 51.91 kB / 0.612 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005122/0.5206, allocations: 3.496 MB / 0.6154 GB, free: 6.414 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5206, allocations: 0 / 0.6154 GB, free: 6.414 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007221/0.5278, allocations: 2.746 MB / 0.6181 GB, free: 3.645 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003767/0.5282, allocations: 111.4 kB / 0.6182 GB, free: 3.535 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/0.5284, allocations: 28 kB / 0.6182 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007198/0.5291, allocations: 27.98 kB / 0.6182 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002941/0.5294, allocations: 129.1 kB / 0.6184 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.5295, allocations: 55.97 kB / 0.6184 GB, free: 3.297 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009694/0.5305, allocations: 0.6708 MB / 0.6191 GB, free: 2.625 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5305, allocations: 4 kB / 0.6191 GB, free: 2.621 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003379/0.5339, allocations: 0.9506 MB / 0.62 GB, free: 1.668 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.002328/0.5362, allocations: 1.121 MB / 0.6211 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003906/0.5401, allocations: 1.836 MB / 0.6229 GB, free: 14.68 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5401, allocations: 3.938 kB / 0.6229 GB, free: 14.67 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.5421, allocations: 0.9858 MB / 0.6239 GB, free: 13.66 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.5434, allocations: 264.8 kB / 0.6241 GB, free: 13.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005241/0.5487, allocations: 2.712 MB / 0.6268 GB, free: 10.65 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.5493, allocations: 0.6058 MB / 0.6274 GB, free: 10.01 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007222/0.55, allocations: 259.2 kB / 0.6276 GB, free: 9.758 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.55, allocations: 0 / 0.6276 GB, free: 9.758 MB / 478.1 MB Notification: Performance of Templates: time 0.05952/0.6096, allocations: 44.03 MB / 0.6706 GB, free: 13.83 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.910836736031342] Failed to read output from testmodel.py, exit status != 0: 0.6191199909662828 0.6344632 0.22758676999999994 Calling exit ...