Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.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.001292/0.001292, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.001434/0.001434, allocations: 216.3 kB / 23 MB, free: 4.949 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1372/0.1372, allocations: 23.92 MB / 337.1 MB, free: 10.95 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.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") [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.002015/0.002015, allocations: 67.91 kB / 472.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.334, allocations: 59.89 MB / 0.5198 GB, free: 9.734 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction): time 0.07622/0.4103, allocations: 29.77 MB / 0.5489 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03131/0.4416, allocations: 21.97 MB / 0.5704 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002097/0.4437, allocations: 31.75 kB / 0.5704 GB, free: 6.031 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.4456, allocations: 0.5658 MB / 0.571 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006503/0.4521, allocations: 1.843 MB / 0.5728 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01/0.4621, allocations: 3.476 MB / 0.5761 GB, free: 112 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004355/0.4664, allocations: 2.703 MB / 0.5788 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/0.4686, allocations: 1.438 MB / 0.5802 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.4703, allocations: 1.278 MB / 0.5814 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.4725, allocations: 1.448 MB / 0.5829 GB, free: 9.172 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005619/0.4731, allocations: 260 kB / 0.5831 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006919/0.48, allocations: 2.629 MB / 0.5857 GB, free: 6.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009191/0.4809, allocations: 0.6037 MB / 0.5863 GB, free: 5.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.4825, allocations: 1.078 MB / 0.5873 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.4943, allocations: 5.696 MB / 0.5929 GB, free: 14.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.4943, allocations: 0 / 0.5929 GB, free: 14.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4943, allocations: 0 / 0.5929 GB, free: 14.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.463e-05/0.4943, allocations: 8 kB / 0.5929 GB, free: 14.87 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: 548 * Number of variables: 548 Notification: Performance of Generate backend data structure: time 0.005988/0.5003, allocations: 2.952 MB / 0.5958 GB, free: 11.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.5004, allocations: 12.03 kB / 0.5958 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/0.5024, allocations: 0.5142 MB / 0.5963 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.5049, allocations: 1.219 MB / 0.5975 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002502/0.5052, allocations: 279.4 kB / 0.5977 GB, free: 9.781 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003955/0.5056, allocations: 219.9 kB / 0.5979 GB, free: 9.566 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004623/0.5102, allocations: 2.733 MB / 0.6006 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/0.5103, allocations: 3.938 kB / 0.6006 GB, free: 6.711 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.5105, allocations: 95.98 kB / 0.6007 GB, free: 6.617 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.54e-05/0.5105, allocations: 56 kB / 0.6008 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005206/0.5157, allocations: 3.16 MB / 0.6038 GB, free: 3.398 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.01403/0.5298, allocations: 7.737 MB / 0.6114 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.5323, allocations: 1.459 MB / 0.6128 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.5336, allocations: 0.8263 MB / 0.6136 GB, free: 9.172 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009733/0.5433, allocations: 4.346 MB / 0.6179 GB, free: 4.793 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/0.5434, allocations: 51.5 kB / 0.6179 GB, free: 4.734 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009784/0.5444, allocations: 218.8 kB / 0.6181 GB, free: 4.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=113): time 3.787e-06/0.5444, allocations: 4 kB / 0.6181 GB, free: 4.516 MB / 462.1 MB Notification: Performance of matching and sorting (n=161): time 0.03421/0.5786, allocations: 9.306 MB / 0.6272 GB, free: 11.15 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/0.5787, allocations: 128.1 kB / 0.6274 GB, free: 11 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.5803, allocations: 1.304 MB / 0.6286 GB, free: 9.688 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001486/0.5804, allocations: 49.7 kB / 0.6287 GB, free: 9.633 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008031/0.5812, allocations: 1.096 MB / 0.6297 GB, free: 8.523 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005482/0.5818, allocations: 0.585 MB / 0.6303 GB, free: 7.934 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000727/0.5825, allocations: 484.5 kB / 0.6308 GB, free: 7.453 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5826, allocations: 305.1 kB / 0.6311 GB, free: 7.152 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.5841, allocations: 0.8481 MB / 0.6319 GB, free: 6.301 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/0.5864, allocations: 1.716 MB / 0.6336 GB, free: 4.18 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004014/0.5904, allocations: 2.701 MB / 0.6362 GB, free: 1.078 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-05/0.5904, allocations: 12 kB / 0.6362 GB, free: 1.066 MB / 478.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.008839/0.5993, allocations: 3.472 MB / 0.6396 GB, free: 13.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.5993, allocations: 18.97 kB / 0.6396 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.142e-05/0.5994, allocations: 28 kB / 0.6397 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005263/0.6046, allocations: 1.174 MB / 0.6408 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/0.6066, allocations: 0.5031 MB / 0.6413 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.617, allocations: 7.192 MB / 0.6483 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.6189, allocations: 107.9 kB / 0.6484 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/0.6192, allocations: 140 kB / 0.6486 GB, free: 4.07 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (270): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 2 systems {(1,11,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,20), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0009197/0.6201, allocations: 449 kB / 0.649 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000392/0.6205, allocations: 158.9 kB / 0.6491 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007834/0.6283, allocations: 2.826 MB / 0.6519 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/0.6283, allocations: 19.94 kB / 0.6519 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.6283, allocations: 4 kB / 0.6519 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/0.6284, allocations: 7.969 kB / 0.6519 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/0.6395, allocations: 4.359 MB / 0.6562 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.679e-06/0.6395, allocations: 4 kB / 0.6562 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.6406, allocations: 259.9 kB / 0.6564 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00468/0.6453, allocations: 1.037 MB / 0.6574 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001865/0.6454, allocations: 63.95 kB / 0.6575 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008554/0.654, allocations: 6.485 MB / 0.6638 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.654, allocations: 4 kB / 0.6638 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008484/0.6625, allocations: 3.654 MB / 0.6674 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/0.6629, allocations: 135 kB / 0.6675 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.6631, allocations: 47.92 kB / 0.6676 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009163/0.664, allocations: 40 kB / 0.6676 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003554/0.6644, allocations: 157 kB / 0.6678 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.6645, allocations: 67.97 kB / 0.6678 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001082/0.6656, allocations: 0.8228 MB / 0.6686 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6656, allocations: 0 / 0.6686 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003332/0.6689, allocations: 1.114 MB / 0.6697 GB, free: 13.88 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.logn,AcAc.logn,CO2.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 (133): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 2 systems {(1,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,21), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002121/0.6711, allocations: 1.159 MB / 0.6709 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005468/0.6765, allocations: 2.575 MB / 0.6734 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6765, allocations: 448 / 0.6734 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002468/0.679, allocations: 1.315 MB / 0.6747 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.6806, allocations: 275.5 kB / 0.6749 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006627/0.6872, allocations: 3.738 MB / 0.6786 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009348/0.6881, allocations: 0.8189 MB / 0.6794 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007553/0.6889, allocations: 299.1 kB / 0.6797 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/0.6889, allocations: 3.938 kB / 0.6797 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.3185/1.007, allocations: 73.25 MB / 0.7512 GB, free: 170.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.988100622955244] Failed to read output from testmodel.py, exit status != 0: 1.0167588790063746 1.027544041 0.530715298 Calling exit ...