Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001148/0.001148, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001358/0.001358, allocations: 218.5 kB / 22.26 MB, free: 5.121 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1358/0.1358, allocations: 23.85 MB / 336.3 MB, free: 11.18 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002259/0.002259, allocations: 67.91 kB / 471.7 MB, free: 7.168 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3252, allocations: 59.86 MB / 0.5191 GB, free: 9.859 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.04259/0.3678, allocations: 30.95 MB / 0.5493 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03366/0.4015, allocations: 25.07 MB / 0.5738 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/0.4032, allocations: 31.75 kB / 0.5738 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.405, allocations: 0.6009 MB / 0.5744 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005719/0.4107, allocations: 1.893 MB / 0.5762 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01005/0.4207, allocations: 3.484 MB / 0.5796 GB, free: 12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004656/0.4254, allocations: 2.703 MB / 0.5823 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002542/0.4279, allocations: 1.43 MB / 0.5837 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/0.43, allocations: 1.274 MB / 0.5849 GB, free: 6.523 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/0.4325, allocations: 1.448 MB / 0.5863 GB, free: 5.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006048/0.4331, allocations: 268 kB / 0.5866 GB, free: 4.809 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008186/0.4413, allocations: 2.726 MB / 0.5893 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007086/0.442, allocations: 0.6075 MB / 0.5899 GB, free: 1.469 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001567/0.4436, allocations: 1.276 MB / 0.5911 GB, free: 192 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.4548, allocations: 5.716 MB / 0.5967 GB, free: 10.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4548, allocations: 0 / 0.5967 GB, free: 10.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4548, allocations: 0 / 0.5967 GB, free: 10.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.854e-05/0.4548, allocations: 0 / 0.5967 GB, free: 10.45 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.005634/0.4605, allocations: 2.956 MB / 0.5996 GB, free: 7.441 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4605, allocations: 8.031 kB / 0.5996 GB, free: 7.434 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/0.4625, allocations: 0.5142 MB / 0.6001 GB, free: 6.918 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002356/0.4649, allocations: 1.227 MB / 0.6013 GB, free: 5.652 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/0.4651, allocations: 283.4 kB / 0.6015 GB, free: 5.348 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003453/0.4655, allocations: 216 kB / 0.6018 GB, free: 5.137 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004403/0.4699, allocations: 2.712 MB / 0.6044 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/0.4699, allocations: 0 / 0.6044 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/0.4701, allocations: 92 kB / 0.6045 GB, free: 2.223 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.715e-05/0.4702, allocations: 52 kB / 0.6045 GB, free: 2.172 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005206/0.4754, allocations: 3.191 MB / 0.6077 GB, free: 14.98 MB / 462.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.01514/0.4905, allocations: 9.229 MB / 0.6167 GB, free: 5.391 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002562/0.4931, allocations: 1.462 MB / 0.6181 GB, free: 3.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.4945, allocations: 0.8341 MB / 0.6189 GB, free: 3.066 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/0.5046, allocations: 4.603 MB / 0.6234 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/0.5047, allocations: 47.5 kB / 0.6234 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001018/0.5057, allocations: 234.7 kB / 0.6237 GB, free: 14.15 MB / 478.1 MB Notification: Performance of pre-optimization done (n=113): time 3.206e-06/0.5057, allocations: 0 / 0.6237 GB, free: 14.15 MB / 478.1 MB Notification: Performance of matching and sorting (n=161): time 0.03649/0.5422, allocations: 9.31 MB / 0.6328 GB, free: 4.777 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.456e-05/0.5423, allocations: 124.1 kB / 0.6329 GB, free: 4.633 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.5441, allocations: 1.361 MB / 0.6342 GB, free: 3.254 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.5443, allocations: 53.7 kB / 0.6343 GB, free: 3.195 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008683/0.5451, allocations: 1.085 MB / 0.6353 GB, free: 2.098 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000543/0.5457, allocations: 0.585 MB / 0.6359 GB, free: 1.508 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006936/0.5464, allocations: 468.6 kB / 0.6363 GB, free: 1.043 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.5465, allocations: 313 kB / 0.6366 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.548, allocations: 0.8481 MB / 0.6375 GB, free: 15.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.5503, allocations: 1.712 MB / 0.6391 GB, free: 13.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003976/0.5543, allocations: 2.713 MB / 0.6418 GB, free: 10.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.979e-05/0.5543, allocations: 12 kB / 0.6418 GB, free: 10.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009337/0.5636, allocations: 3.48 MB / 0.6452 GB, free: 7.137 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.5637, allocations: 19.94 kB / 0.6452 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.07e-05/0.5637, allocations: 28 kB / 0.6452 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005648/0.5693, allocations: 1.166 MB / 0.6464 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/0.5713, allocations: 0.5109 MB / 0.6469 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/0.5824, allocations: 7.311 MB / 0.654 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.5841, allocations: 103.9 kB / 0.6541 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002442/0.5843, allocations: 144 kB / 0.6543 GB, free: 13.48 MB / 0.4981 GB 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.0008835/0.5852, allocations: 456.9 kB / 0.6547 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003678/0.5856, allocations: 162.9 kB / 0.6548 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008374/0.594, allocations: 2.842 MB / 0.6576 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.594, allocations: 16 kB / 0.6576 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.594, allocations: 4 kB / 0.6576 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.594, allocations: 11.97 kB / 0.6577 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/0.606, allocations: 4.832 MB / 0.6624 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.606, allocations: 3.938 kB / 0.6624 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.6072, allocations: 251.7 kB / 0.6626 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005105/0.6123, allocations: 1.046 MB / 0.6636 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/0.6124, allocations: 59.97 kB / 0.6637 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009301/0.6217, allocations: 6.602 MB / 0.6701 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.6217, allocations: 11.88 kB / 0.6702 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009164/0.6309, allocations: 3.666 MB / 0.6737 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003653/0.6312, allocations: 142.9 kB / 0.6739 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.6315, allocations: 43.98 kB / 0.6739 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000987/0.6325, allocations: 32 kB / 0.6739 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003427/0.6328, allocations: 161 kB / 0.6741 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/0.633, allocations: 75.95 kB / 0.6742 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00125/0.6342, allocations: 0.896 MB / 0.675 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6342, allocations: 0 / 0.675 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003363/0.6376, allocations: 1.111 MB / 0.6761 GB, free: 6.512 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.002111/0.6397, allocations: 1.16 MB / 0.6773 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005261/0.6449, allocations: 2.578 MB / 0.6798 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.6449, allocations: 0.875 kB / 0.6798 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002658/0.6476, allocations: 1.311 MB / 0.6811 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.6491, allocations: 294.7 kB / 0.6813 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006799/0.6559, allocations: 3.697 MB / 0.685 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.6571, allocations: 1.403 MB / 0.6863 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00128/0.6583, allocations: 388.4 kB / 0.6867 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/0.6589, allocations: 231.3 kB / 0.6869 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/0.6589, allocations: 4 kB / 0.6869 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of Templates: time 0.2716/0.9305, allocations: 44.05 MB / 0.7299 GB, free: 175.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.749159547965974] Failed to read output from testmodel.py, exit status != 0: 0.9393757660873234 0.951157562 0.49374 Calling exit ...