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.001309/0.001309, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001461/0.001461, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.377/1.377, allocations: 230.6 MB / 256 MB, free: 7.766 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.1332/0.1332, allocations: 23.9 MB / 336.3 MB, free: 11.02 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.00199/0.00199, allocations: 72.17 kB / 471.6 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2933, allocations: 59.86 MB / 0.519 GB, free: 9.758 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.07407/0.3674, allocations: 29.85 MB / 0.5482 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03184/0.3992, allocations: 21.97 MB / 0.5696 GB, free: 6.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/0.4016, allocations: 35.75 kB / 0.5697 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.4035, allocations: 0.5542 MB / 0.5702 GB, free: 5.414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00604/0.4095, allocations: 1.847 MB / 0.572 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009627/0.4192, allocations: 3.484 MB / 0.5754 GB, free: 52 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004089/0.4233, allocations: 2.703 MB / 0.5781 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002017/0.4253, allocations: 1.399 MB / 0.5794 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.4269, allocations: 1.274 MB / 0.5807 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.4289, allocations: 1.28 MB / 0.5819 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004499/0.4293, allocations: 264 kB / 0.5822 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006782/0.4361, allocations: 2.566 MB / 0.5847 GB, free: 6.496 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007201/0.4368, allocations: 0.6075 MB / 0.5853 GB, free: 5.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.4381, allocations: 1.07 MB / 0.5863 GB, free: 4.812 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.4488, allocations: 5.708 MB / 0.5919 GB, free: 15.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4488, allocations: 0 / 0.5919 GB, free: 15.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4488, allocations: 0 / 0.5919 GB, free: 15.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.476e-05/0.4489, allocations: 0 / 0.5919 GB, free: 15.08 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.006002/0.4549, allocations: 2.948 MB / 0.5948 GB, free: 12.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.4549, allocations: 8.031 kB / 0.5948 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/0.457, allocations: 0.5142 MB / 0.5953 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/0.4594, allocations: 1.235 MB / 0.5965 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.4597, allocations: 275.4 kB / 0.5967 GB, free: 9.988 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003779/0.4601, allocations: 220 kB / 0.597 GB, free: 9.773 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004697/0.4648, allocations: 2.737 MB / 0.5996 GB, free: 6.918 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.206e-05/0.4648, allocations: 0 / 0.5996 GB, free: 6.918 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002112/0.465, allocations: 88 kB / 0.5997 GB, free: 6.832 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.494e-05/0.4651, allocations: 52 kB / 0.5998 GB, free: 6.781 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005349/0.4704, allocations: 3.156 MB / 0.6028 GB, free: 3.621 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.01456/0.485, allocations: 7.752 MB / 0.6104 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/0.4876, allocations: 1.443 MB / 0.6118 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.489, allocations: 0.8341 MB / 0.6126 GB, free: 9.391 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009861/0.4988, allocations: 4.346 MB / 0.6169 GB, free: 5.012 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.707e-05/0.4989, allocations: 47.56 kB / 0.6169 GB, free: 4.957 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009944/0.4999, allocations: 230.8 kB / 0.6171 GB, free: 4.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=113): time 4.278e-06/0.4999, allocations: 0 / 0.6171 GB, free: 4.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=161): time 0.03488/0.5348, allocations: 9.31 MB / 0.6262 GB, free: 11.36 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/0.5349, allocations: 120.1 kB / 0.6264 GB, free: 11.22 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/0.5365, allocations: 1.308 MB / 0.6276 GB, free: 9.898 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.5367, allocations: 57.69 kB / 0.6277 GB, free: 9.836 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008244/0.5375, allocations: 1.096 MB / 0.6288 GB, free: 8.727 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005315/0.538, allocations: 0.5811 MB / 0.6293 GB, free: 8.141 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006901/0.5387, allocations: 472.6 kB / 0.6298 GB, free: 7.672 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.5389, allocations: 309.1 kB / 0.6301 GB, free: 7.367 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.5404, allocations: 0.8519 MB / 0.6309 GB, free: 6.512 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/0.5426, allocations: 1.713 MB / 0.6326 GB, free: 4.395 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003967/0.5466, allocations: 2.701 MB / 0.6352 GB, free: 1.293 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/0.5466, allocations: 12 kB / 0.6352 GB, free: 1.281 MB / 478.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.008769/0.5554, allocations: 3.469 MB / 0.6386 GB, free: 13.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.03e-05/0.5554, allocations: 30.86 kB / 0.6386 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.922e-05/0.5555, allocations: 28 kB / 0.6387 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005194/0.5607, allocations: 1.157 MB / 0.6398 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/0.5625, allocations: 0.5148 MB / 0.6403 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/0.5732, allocations: 7.207 MB / 0.6473 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.5751, allocations: 107.8 kB / 0.6474 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002699/0.5754, allocations: 140 kB / 0.6476 GB, free: 4.27 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.0009085/0.5763, allocations: 445.1 kB / 0.648 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003841/0.5767, allocations: 170.8 kB / 0.6482 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007903/0.5846, allocations: 2.814 MB / 0.6509 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.5846, allocations: 19.94 kB / 0.6509 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.5846, allocations: 4 kB / 0.6509 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.408e-05/0.5846, allocations: 7.969 kB / 0.6509 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.5957, allocations: 4.359 MB / 0.6552 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.5958, allocations: 0 / 0.6552 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.5969, allocations: 259.7 kB / 0.6554 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004736/0.6016, allocations: 1.041 MB / 0.6565 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001673/0.6018, allocations: 59.95 kB / 0.6565 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008766/0.6105, allocations: 6.489 MB / 0.6629 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.6106, allocations: 11.94 kB / 0.6629 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008792/0.6193, allocations: 3.646 MB / 0.6664 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004107/0.6198, allocations: 142.9 kB / 0.6666 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/0.62, allocations: 39.88 kB / 0.6666 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009442/0.6209, allocations: 39.98 kB / 0.6666 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003371/0.6213, allocations: 153 kB / 0.6668 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/0.6214, allocations: 71.95 kB / 0.6669 GB, free: 24 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001097/0.6225, allocations: 0.8229 MB / 0.6677 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.6225, allocations: 0 / 0.6677 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00317/0.6257, allocations: 1.111 MB / 0.6687 GB, free: 14.08 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.001958/0.6276, allocations: 1.175 MB / 0.6699 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004993/0.6326, allocations: 2.57 MB / 0.6724 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.6326, allocations: 4 kB / 0.6724 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002606/0.6352, allocations: 1.309 MB / 0.6737 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.6367, allocations: 271.2 kB / 0.6739 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006582/0.6432, allocations: 3.688 MB / 0.6775 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009064/0.6442, allocations: 0.8189 MB / 0.6783 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001276/0.6454, allocations: 385.6 kB / 0.6787 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005271/0.646, allocations: 231.3 kB / 0.6789 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of SimCode: time 9.82e-07/0.646, allocations: 0 / 0.6789 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of Templates: time 0.06714/0.7131, allocations: 43.45 MB / 0.7214 GB, free: 8.262 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.55824919976294] Failed to read output from testmodel.py, exit status != 0: 0.7224791385233402 0.908874684 0.45730277700000005 Calling exit ...