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.00154/0.00154, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00172/0.00172, allocations: 213 kB / 22.99 MB, free: 4.957 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.415/1.415, 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.1452/0.1452, allocations: 23.92 MB / 337.1 MB, free: 10.92 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.001977/0.001977, allocations: 71.88 kB / 472.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3532, allocations: 59.88 MB / 0.5198 GB, free: 9.777 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.07317/0.4263, allocations: 29.68 MB / 0.5488 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03061/0.4569, allocations: 21.97 MB / 0.5703 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002232/0.4592, allocations: 35.75 kB / 0.5703 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.4611, allocations: 0.5503 MB / 0.5709 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005634/0.4667, allocations: 1.847 MB / 0.5727 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009412/0.4761, allocations: 3.48 MB / 0.5761 GB, free: 156 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003884/0.48, allocations: 2.699 MB / 0.5787 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/0.4818, allocations: 1.438 MB / 0.5801 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.4833, allocations: 1.278 MB / 0.5813 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.4852, allocations: 1.444 MB / 0.5828 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004211/0.4856, allocations: 260 kB / 0.583 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006569/0.4922, allocations: 2.637 MB / 0.5856 GB, free: 6.328 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006668/0.4928, allocations: 0.6076 MB / 0.5862 GB, free: 5.719 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.4941, allocations: 1.07 MB / 0.5872 GB, free: 4.645 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01019/0.5043, allocations: 5.7 MB / 0.5928 GB, free: 14.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.5043, allocations: 4 kB / 0.5928 GB, free: 14.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5043, allocations: 0 / 0.5928 GB, free: 14.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.903e-05/0.5043, allocations: 0 / 0.5928 GB, free: 14.92 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.00581/0.5102, allocations: 2.952 MB / 0.5957 GB, free: 11.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.5102, allocations: 12.02 kB / 0.5957 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/0.5123, allocations: 0.5142 MB / 0.5962 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.5147, allocations: 1.227 MB / 0.5974 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002462/0.5149, allocations: 279.4 kB / 0.5977 GB, free: 9.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003811/0.5153, allocations: 219.9 kB / 0.5979 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004726/0.52, allocations: 2.733 MB / 0.6005 GB, free: 6.754 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.49e-05/0.5201, allocations: 3.938 kB / 0.6005 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/0.5203, allocations: 88 kB / 0.6006 GB, free: 6.664 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.772e-05/0.5203, allocations: 56 kB / 0.6007 GB, free: 6.609 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005123/0.5255, allocations: 3.16 MB / 0.6038 GB, free: 3.445 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.01448/0.5399, allocations: 7.737 MB / 0.6113 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/0.5425, allocations: 1.455 MB / 0.6127 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.5439, allocations: 0.8302 MB / 0.6135 GB, free: 9.219 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01012/0.554, allocations: 4.334 MB / 0.6178 GB, free: 4.852 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.554, allocations: 51.55 kB / 0.6178 GB, free: 4.793 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001055/0.5551, allocations: 230.8 kB / 0.618 GB, free: 4.566 MB / 462.1 MB Notification: Performance of pre-optimization done (n=113): time 3.867e-06/0.5551, allocations: 0 / 0.618 GB, free: 4.566 MB / 462.1 MB Notification: Performance of matching and sorting (n=161): time 0.03838/0.5935, allocations: 9.306 MB / 0.6271 GB, free: 11.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.469e-05/0.5935, allocations: 124.1 kB / 0.6273 GB, free: 11.06 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.5952, allocations: 1.312 MB / 0.6285 GB, free: 9.734 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001897/0.5954, allocations: 49.7 kB / 0.6286 GB, free: 9.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008385/0.5963, allocations: 1.096 MB / 0.6297 GB, free: 8.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005899/0.5969, allocations: 0.5811 MB / 0.6302 GB, free: 7.984 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007209/0.5976, allocations: 472.6 kB / 0.6307 GB, free: 7.516 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5977, allocations: 309.1 kB / 0.631 GB, free: 7.211 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.5992, allocations: 0.8558 MB / 0.6318 GB, free: 6.352 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/0.6015, allocations: 1.713 MB / 0.6335 GB, free: 4.234 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003908/0.6054, allocations: 2.709 MB / 0.6361 GB, free: 1.125 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/0.6054, allocations: 16 kB / 0.6361 GB, free: 1.109 MB / 478.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009518/0.615, allocations: 3.469 MB / 0.6395 GB, free: 13.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.615, allocations: 20.06 kB / 0.6395 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.041e-05/0.615, allocations: 28 kB / 0.6396 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005909/0.621, allocations: 1.158 MB / 0.6407 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/0.6229, allocations: 0.5109 MB / 0.6412 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.6338, allocations: 7.195 MB / 0.6482 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.6359, allocations: 107.8 kB / 0.6483 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002977/0.6362, allocations: 140 kB / 0.6485 GB, free: 4.117 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.0009145/0.6371, allocations: 461 kB / 0.6489 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004009/0.6375, allocations: 158.9 kB / 0.649 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008414/0.6459, allocations: 2.818 MB / 0.6518 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/0.646, allocations: 19.94 kB / 0.6518 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.646, allocations: 4.109 kB / 0.6518 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.325e-05/0.646, allocations: 15.91 kB / 0.6518 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.6582, allocations: 4.355 MB / 0.6561 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.6582, allocations: 4 kB / 0.6561 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.6594, allocations: 259.6 kB / 0.6563 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005256/0.6647, allocations: 1.033 MB / 0.6574 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001994/0.6649, allocations: 63.95 kB / 0.6574 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009166/0.674, allocations: 6.485 MB / 0.6637 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.674, allocations: 4.312 kB / 0.6638 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009487/0.6835, allocations: 3.658 MB / 0.6673 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004396/0.684, allocations: 143 kB / 0.6675 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/0.6842, allocations: 35.88 kB / 0.6675 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.6852, allocations: 43.98 kB / 0.6675 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003824/0.6856, allocations: 153.1 kB / 0.6677 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/0.6858, allocations: 71.95 kB / 0.6678 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001102/0.6869, allocations: 0.8228 MB / 0.6686 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6869, allocations: 0 / 0.6686 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003437/0.6903, allocations: 1.118 MB / 0.6696 GB, free: 13.91 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.002262/0.6926, allocations: 1.155 MB / 0.6708 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00554/0.6981, allocations: 2.578 MB / 0.6733 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.6981, allocations: 0 / 0.6733 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002713/0.7009, allocations: 1.317 MB / 0.6746 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.7025, allocations: 274 kB / 0.6748 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007102/0.7096, allocations: 3.685 MB / 0.6784 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009781/0.7105, allocations: 0.8228 MB / 0.6792 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00144/0.712, allocations: 379.9 kB / 0.6796 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00056/0.7125, allocations: 235.3 kB / 0.6798 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of SimCode: time 1.252e-06/0.7125, allocations: 3.938 kB / 0.6798 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of Templates: time 0.06838/0.7809, allocations: 44.18 MB / 0.723 GB, free: 7.363 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 cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.756596139995963] Failed to read output from testmodel.py, exit status != 0: 0.7904096200072672 0.973067123 0.46601476900000005 Calling exit ...