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.001581/0.001581, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001922/0.001922, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.138/0.138, allocations: 23.99 MB / 337.2 MB, free: 10.83 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.002186/0.002186, allocations: 79.83 kB / 472.6 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3388, allocations: 59.89 MB / 0.52 GB, free: 9.809 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.07449/0.4133, allocations: 29.85 MB / 0.5491 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03081/0.4441, allocations: 21.98 MB / 0.5706 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.4461, allocations: 31.75 kB / 0.5706 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001782/0.4479, allocations: 0.5543 MB / 0.5711 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006102/0.454, allocations: 1.85 MB / 0.573 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01012/0.4641, allocations: 3.484 MB / 0.5764 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004396/0.4685, allocations: 2.691 MB / 0.579 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002169/0.4706, allocations: 1.407 MB / 0.5804 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/0.4725, allocations: 1.278 MB / 0.5816 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002083/0.4746, allocations: 1.276 MB / 0.5829 GB, free: 9.094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004727/0.4751, allocations: 260 kB / 0.5831 GB, free: 8.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007068/0.4822, allocations: 2.57 MB / 0.5856 GB, free: 6.266 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000809/0.483, allocations: 0.6076 MB / 0.5862 GB, free: 5.656 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001432/0.4844, allocations: 1.078 MB / 0.5873 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.4967, allocations: 5.704 MB / 0.5928 GB, free: 14.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4967, allocations: 4 kB / 0.5928 GB, free: 14.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4967, allocations: 0 / 0.5928 GB, free: 14.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.198e-05/0.4968, allocations: 0 / 0.5928 GB, free: 14.84 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.006305/0.5031, allocations: 2.948 MB / 0.5957 GB, free: 11.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.5031, allocations: 8.031 kB / 0.5957 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/0.5052, allocations: 0.5259 MB / 0.5962 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/0.5078, allocations: 1.219 MB / 0.5974 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/0.5081, allocations: 275.4 kB / 0.5977 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003945/0.5085, allocations: 216 kB / 0.5979 GB, free: 9.543 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004745/0.5132, allocations: 2.737 MB / 0.6006 GB, free: 6.688 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.891e-05/0.5133, allocations: 11.94 kB / 0.6006 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/0.5135, allocations: 84 kB / 0.6007 GB, free: 6.594 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.857e-05/0.5135, allocations: 56 kB / 0.6007 GB, free: 6.539 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00529/0.5188, allocations: 3.16 MB / 0.6038 GB, free: 3.375 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.01457/0.5334, allocations: 7.74 MB / 0.6114 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.536, allocations: 1.455 MB / 0.6128 GB, free: 9.988 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.5373, allocations: 0.8263 MB / 0.6136 GB, free: 9.152 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009991/0.5473, allocations: 4.342 MB / 0.6178 GB, free: 4.777 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.5474, allocations: 47.55 kB / 0.6179 GB, free: 4.723 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001017/0.5484, allocations: 226.8 kB / 0.6181 GB, free: 4.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=113): time 3.997e-06/0.5484, allocations: 0 / 0.6181 GB, free: 4.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=161): time 0.03534/0.5837, allocations: 9.306 MB / 0.6272 GB, free: 11.13 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.641e-05/0.5838, allocations: 120.1 kB / 0.6273 GB, free: 10.99 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/0.5855, allocations: 1.316 MB / 0.6286 GB, free: 9.664 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002753/0.5858, allocations: 49.7 kB / 0.6286 GB, free: 9.609 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008335/0.5866, allocations: 1.092 MB / 0.6297 GB, free: 8.504 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006261/0.5872, allocations: 0.5888 MB / 0.6303 GB, free: 7.91 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007088/0.588, allocations: 472.6 kB / 0.6307 GB, free: 7.441 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5881, allocations: 305.1 kB / 0.631 GB, free: 7.141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.5896, allocations: 0.8559 MB / 0.6318 GB, free: 6.281 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/0.5919, allocations: 1.712 MB / 0.6335 GB, free: 4.164 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004029/0.596, allocations: 2.701 MB / 0.6361 GB, free: 1.062 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.8e-05/0.596, allocations: 8 kB / 0.6362 GB, free: 1.055 MB / 478.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009012/0.605, allocations: 3.476 MB / 0.6395 GB, free: 13.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.605, allocations: 16 kB / 0.6396 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-05/0.6051, allocations: 28 kB / 0.6396 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005464/0.6105, allocations: 1.167 MB / 0.6407 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/0.6126, allocations: 0.5109 MB / 0.6412 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.6234, allocations: 7.198 MB / 0.6483 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.6253, allocations: 111.9 kB / 0.6484 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003224/0.6256, allocations: 140 kB / 0.6485 GB, free: 4.043 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.000997/0.6266, allocations: 448.9 kB / 0.6489 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004806/0.6271, allocations: 155 kB / 0.6491 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008291/0.6354, allocations: 2.826 MB / 0.6518 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/0.6354, allocations: 23.94 kB / 0.6519 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.6355, allocations: 0 / 0.6519 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.664e-05/0.6355, allocations: 11.97 kB / 0.6519 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.6473, allocations: 4.362 MB / 0.6561 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.6473, allocations: 8.25 kB / 0.6561 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.6485, allocations: 255.7 kB / 0.6564 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004955/0.6534, allocations: 1.034 MB / 0.6574 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002739/0.6537, allocations: 63.95 kB / 0.6575 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009079/0.6628, allocations: 6.494 MB / 0.6638 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6628, allocations: 0 / 0.6638 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009007/0.6718, allocations: 3.662 MB / 0.6674 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004846/0.6723, allocations: 135 kB / 0.6675 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/0.6726, allocations: 39.94 kB / 0.6675 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000992/0.6736, allocations: 43.98 kB / 0.6676 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000394/0.674, allocations: 153 kB / 0.6677 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/0.6741, allocations: 71.95 kB / 0.6678 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001116/0.6752, allocations: 0.8228 MB / 0.6686 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6752, allocations: 0 / 0.6686 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003736/0.679, allocations: 1.111 MB / 0.6697 GB, free: 13.84 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.002436/0.6814, allocations: 1.152 MB / 0.6708 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005717/0.6871, allocations: 2.583 MB / 0.6733 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.6871, allocations: 0 / 0.6733 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002754/0.6899, allocations: 1.311 MB / 0.6746 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.6916, allocations: 270.5 kB / 0.6749 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007053/0.6986, allocations: 3.746 MB / 0.6785 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009548/0.6996, allocations: 0.8189 MB / 0.6793 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008274/0.7004, allocations: 287.2 kB / 0.6796 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of SimCode: time 9.42e-07/0.7004, allocations: 0 / 0.6796 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of Templates: time 0.3064/1.007, allocations: 73.26 MB / 0.7511 GB, free: 170.6 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.928407409228384] Failed to read output from testmodel.py, exit status != 0: 1.0166639829985797 1.026689969 0.5274612160000001 Calling exit ...