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.001409/0.001409, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001588/0.001588, allocations: 216.2 kB / 22.26 MB, free: 5.078 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 8.02 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.142/0.142, allocations: 23.9 MB / 336.3 MB, free: 11.17 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.001946/0.001946, allocations: 67.89 kB / 471.7 MB, free: 7.156 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2839, allocations: 59.88 MB / 0.5191 GB, free: 9.793 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.03963/0.3235, allocations: 30.99 MB / 0.5494 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0327/0.3562, allocations: 25.06 MB / 0.5739 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/0.3578, allocations: 31.75 kB / 0.5739 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.3595, allocations: 0.6126 MB / 0.5745 GB, free: 1.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004904/0.3644, allocations: 1.893 MB / 0.5764 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009014/0.3734, allocations: 3.472 MB / 0.5797 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003689/0.3771, allocations: 2.707 MB / 0.5824 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.3789, allocations: 1.43 MB / 0.5838 GB, free: 7.742 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.3803, allocations: 1.27 MB / 0.585 GB, free: 6.469 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.3822, allocations: 1.452 MB / 0.5864 GB, free: 5.012 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003614/0.3826, allocations: 264 kB / 0.5867 GB, free: 4.754 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007388/0.39, allocations: 2.726 MB / 0.5894 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000681/0.3906, allocations: 0.6075 MB / 0.59 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00145/0.3921, allocations: 1.276 MB / 0.5912 GB, free: 136 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.403, allocations: 5.708 MB / 0.5968 GB, free: 10.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.403, allocations: 4 kB / 0.5968 GB, free: 10.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.403, allocations: 0 / 0.5968 GB, free: 10.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.448e-05/0.403, allocations: 3.938 kB / 0.5968 GB, free: 10.39 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.005348/0.4083, allocations: 2.96 MB / 0.5997 GB, free: 7.383 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.4084, allocations: 8.031 kB / 0.5997 GB, free: 7.375 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/0.4103, allocations: 0.5181 MB / 0.6002 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.4125, allocations: 1.219 MB / 0.6014 GB, free: 5.598 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002315/0.4127, allocations: 279.4 kB / 0.6016 GB, free: 5.297 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003297/0.4131, allocations: 223.9 kB / 0.6019 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004097/0.4172, allocations: 2.716 MB / 0.6045 GB, free: 2.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.918e-05/0.4172, allocations: 0 / 0.6045 GB, free: 2.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002009/0.4174, allocations: 88 kB / 0.6046 GB, free: 2.164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.084e-05/0.4175, allocations: 52 kB / 0.6046 GB, free: 2.113 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004859/0.4223, allocations: 3.191 MB / 0.6078 GB, free: 14.91 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.0139/0.4362, allocations: 9.232 MB / 0.6168 GB, free: 5.328 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.4386, allocations: 1.462 MB / 0.6182 GB, free: 3.848 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.4399, allocations: 0.8368 MB / 0.619 GB, free: 3.004 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009167/0.449, allocations: 4.599 MB / 0.6235 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.4491, allocations: 51.41 kB / 0.6236 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008959/0.45, allocations: 238.7 kB / 0.6238 GB, free: 14.08 MB / 478.1 MB Notification: Performance of pre-optimization done (n=113): time 2.505e-06/0.45, allocations: 0 / 0.6238 GB, free: 14.08 MB / 478.1 MB Notification: Performance of matching and sorting (n=161): time 0.03521/0.4852, allocations: 9.314 MB / 0.6329 GB, free: 4.707 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.168e-05/0.4853, allocations: 120.1 kB / 0.633 GB, free: 4.566 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/0.487, allocations: 1.357 MB / 0.6343 GB, free: 3.191 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.4871, allocations: 49.7 kB / 0.6344 GB, free: 3.137 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008679/0.488, allocations: 1.088 MB / 0.6354 GB, free: 2.035 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005182/0.4885, allocations: 0.585 MB / 0.636 GB, free: 1.445 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006888/0.4892, allocations: 476.7 kB / 0.6365 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4893, allocations: 309.1 kB / 0.6368 GB, free: 0.668 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.4908, allocations: 0.8519 MB / 0.6376 GB, free: 15.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/0.493, allocations: 1.712 MB / 0.6393 GB, free: 13.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003931/0.497, allocations: 2.705 MB / 0.6419 GB, free: 10.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/0.497, allocations: 8 kB / 0.6419 GB, free: 10.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.008852/0.5058, allocations: 3.476 MB / 0.6453 GB, free: 7.082 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.5059, allocations: 23.92 kB / 0.6453 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.545e-05/0.5059, allocations: 28.53 kB / 0.6453 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00545/0.5114, allocations: 1.158 MB / 0.6465 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/0.5131, allocations: 0.5109 MB / 0.647 GB, free: 5.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.5237, allocations: 7.323 MB / 0.6541 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.5254, allocations: 115.8 kB / 0.6542 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002436/0.5257, allocations: 140 kB / 0.6544 GB, free: 13.41 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.0008466/0.5265, allocations: 453.4 kB / 0.6548 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003555/0.5269, allocations: 162.9 kB / 0.655 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008069/0.5349, allocations: 2.841 MB / 0.6577 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.5349, allocations: 16 kB / 0.6578 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.535, allocations: 4 kB / 0.6578 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.535, allocations: 7.969 kB / 0.6578 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/0.5464, allocations: 4.836 MB / 0.6625 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.5464, allocations: 4 kB / 0.6625 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.5475, allocations: 255.9 kB / 0.6627 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004821/0.5523, allocations: 1.034 MB / 0.6637 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/0.5525, allocations: 63.95 kB / 0.6638 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008862/0.5613, allocations: 6.61 MB / 0.6703 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5613, allocations: 4 kB / 0.6703 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008684/0.57, allocations: 3.662 MB / 0.6738 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003591/0.5704, allocations: 147.2 kB / 0.674 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.5706, allocations: 32 kB / 0.674 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009893/0.5716, allocations: 43.98 kB / 0.6741 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000325/0.5719, allocations: 164.8 kB / 0.6742 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/0.5721, allocations: 71.95 kB / 0.6743 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001168/0.5733, allocations: 0.8882 MB / 0.6751 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5733, allocations: 0 / 0.6751 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003259/0.5765, allocations: 1.114 MB / 0.6762 GB, free: 6.453 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.002029/0.5785, allocations: 1.153 MB / 0.6774 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005004/0.5835, allocations: 2.586 MB / 0.6799 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5836, allocations: 0 / 0.6799 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002466/0.586, allocations: 1.316 MB / 0.6812 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.5875, allocations: 287.3 kB / 0.6814 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006451/0.5939, allocations: 3.693 MB / 0.6851 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.595, allocations: 1.391 MB / 0.6864 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001234/0.5962, allocations: 397.8 kB / 0.6868 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005423/0.5968, allocations: 239.3 kB / 0.687 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/0.5968, allocations: 0 / 0.687 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.2526/0.8494, allocations: 44.07 MB / 0.7301 GB, free: 175.2 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 sys.exit(0), Time elapsed: 6.485638218000531] Failed to read output from testmodel.py, exit status != 0: 0.8576256539672613 0.868802614 0.46334244500000005 Calling exit ...