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.001559/0.001559, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001776/0.001776, allocations: 210.5 kB / 22.99 MB, free: 4.984 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1319/0.1319, allocations: 23.92 MB / 337.1 MB, free: 11.04 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.002076/0.002076, allocations: 71.89 kB / 472.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2845, allocations: 59.88 MB / 0.5198 GB, free: 9.754 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.07453/0.359, allocations: 29.69 MB / 0.5488 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03056/0.3896, allocations: 21.97 MB / 0.5703 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.3914, allocations: 31.75 kB / 0.5703 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.3932, allocations: 0.5581 MB / 0.5709 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00586/0.3991, allocations: 1.847 MB / 0.5727 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009867/0.409, allocations: 3.472 MB / 0.5761 GB, free: 212 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004295/0.4133, allocations: 2.707 MB / 0.5787 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/0.4154, allocations: 1.438 MB / 0.5801 GB, free: 12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.4173, allocations: 1.278 MB / 0.5814 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002377/0.4196, allocations: 1.448 MB / 0.5828 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005119/0.4202, allocations: 260 kB / 0.583 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00708/0.4272, allocations: 2.629 MB / 0.5856 GB, free: 6.379 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007891/0.428, allocations: 0.6075 MB / 0.5862 GB, free: 5.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001491/0.4295, allocations: 1.074 MB / 0.5872 GB, free: 4.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.4411, allocations: 5.704 MB / 0.5928 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4411, allocations: 0 / 0.5928 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4411, allocations: 4 kB / 0.5928 GB, free: 14.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.671e-05/0.4412, allocations: 0 / 0.5928 GB, free: 14.96 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.006522/0.4477, allocations: 2.944 MB / 0.5957 GB, free: 11.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4477, allocations: 12.03 kB / 0.5957 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/0.45, allocations: 0.5181 MB / 0.5962 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002869/0.4529, allocations: 1.227 MB / 0.5974 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002891/0.4532, allocations: 271.4 kB / 0.5976 GB, free: 9.875 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005393/0.4537, allocations: 216 kB / 0.5979 GB, free: 9.664 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005387/0.4591, allocations: 2.749 MB / 0.6005 GB, free: 6.797 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.833e-05/0.4591, allocations: 3.938 kB / 0.6005 GB, free: 6.793 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002467/0.4594, allocations: 88 kB / 0.6006 GB, free: 6.707 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.161e-05/0.4594, allocations: 56 kB / 0.6007 GB, free: 6.652 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00551/0.4649, allocations: 3.152 MB / 0.6038 GB, free: 3.496 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.01587/0.4808, allocations: 7.74 MB / 0.6113 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/0.4836, allocations: 1.459 MB / 0.6127 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.4851, allocations: 0.8302 MB / 0.6135 GB, free: 9.262 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/0.4959, allocations: 4.342 MB / 0.6178 GB, free: 4.887 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.4959, allocations: 51.5 kB / 0.6178 GB, free: 4.828 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001132/0.4971, allocations: 222.8 kB / 0.6181 GB, free: 4.609 MB / 462.1 MB Notification: Performance of pre-optimization done (n=113): time 5.04e-06/0.4971, allocations: 0 / 0.6181 GB, free: 4.609 MB / 462.1 MB Notification: Performance of matching and sorting (n=161): time 0.0401/0.5372, allocations: 9.314 MB / 0.6271 GB, free: 11.24 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/0.5373, allocations: 124.2 kB / 0.6273 GB, free: 11.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.539, allocations: 1.304 MB / 0.6285 GB, free: 9.777 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002667/0.5392, allocations: 53.7 kB / 0.6286 GB, free: 9.719 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008102/0.5401, allocations: 1.096 MB / 0.6297 GB, free: 8.609 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006519/0.5407, allocations: 0.585 MB / 0.6302 GB, free: 8.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007504/0.5415, allocations: 472.6 kB / 0.6307 GB, free: 7.551 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5416, allocations: 305.1 kB / 0.631 GB, free: 7.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/0.5432, allocations: 0.8519 MB / 0.6318 GB, free: 6.395 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/0.5456, allocations: 1.72 MB / 0.6335 GB, free: 4.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004381/0.55, allocations: 2.705 MB / 0.6361 GB, free: 1.164 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.971e-05/0.55, allocations: 8 kB / 0.6361 GB, free: 1.156 MB / 478.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01057/0.5606, allocations: 3.468 MB / 0.6395 GB, free: 13.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.5606, allocations: 16 kB / 0.6395 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.341e-05/0.5607, allocations: 32.52 kB / 0.6396 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006201/0.5669, allocations: 1.165 MB / 0.6407 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/0.569, allocations: 0.5148 MB / 0.6412 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/0.5803, allocations: 7.188 MB / 0.6482 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.5822, allocations: 103.9 kB / 0.6483 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003456/0.5826, allocations: 144 kB / 0.6485 GB, free: 4.16 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.0009279/0.5835, allocations: 452.9 kB / 0.6489 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004319/0.5839, allocations: 166.8 kB / 0.6491 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00884/0.5928, allocations: 2.825 MB / 0.6518 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.5928, allocations: 19.94 kB / 0.6518 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.5928, allocations: 4 kB / 0.6518 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-05/0.5928, allocations: 8.078 kB / 0.6518 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/0.6054, allocations: 4.363 MB / 0.6561 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.6054, allocations: 4 kB / 0.6561 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.6067, allocations: 251.7 kB / 0.6563 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005579/0.6123, allocations: 1.034 MB / 0.6574 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002174/0.6125, allocations: 63.95 kB / 0.6574 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009687/0.6222, allocations: 6.488 MB / 0.6638 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.6222, allocations: 4.031 kB / 0.6638 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00965/0.6318, allocations: 3.654 MB / 0.6673 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/0.6322, allocations: 139 kB / 0.6675 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.6325, allocations: 40.22 kB / 0.6675 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.6336, allocations: 39.98 kB / 0.6675 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003863/0.634, allocations: 153 kB / 0.6677 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001655/0.6341, allocations: 75.83 kB / 0.6678 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001116/0.6352, allocations: 0.8228 MB / 0.6686 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6352, allocations: 0 / 0.6686 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003806/0.6391, allocations: 1.111 MB / 0.6696 GB, free: 13.96 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.002588/0.6416, allocations: 1.164 MB / 0.6708 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005915/0.6476, allocations: 2.578 MB / 0.6733 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.6476, allocations: 0 / 0.6733 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002917/0.6505, allocations: 1.316 MB / 0.6746 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.6521, allocations: 263.4 kB / 0.6748 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007109/0.6592, allocations: 3.697 MB / 0.6784 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009354/0.6602, allocations: 0.8189 MB / 0.6792 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001384/0.6616, allocations: 380.6 kB / 0.6796 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005653/0.6621, allocations: 227.3 kB / 0.6798 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of SimCode: time 8.62e-07/0.6621, allocations: 0 / 0.6798 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of Templates: time 0.06978/0.7319, allocations: 44.18 MB / 0.723 GB, free: 7.422 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 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.556605949008372] Failed to read output from testmodel.py, exit status != 0: 0.7415215130022261 0.91219852 0.46839130599999995 Calling exit ...