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.001351/0.001351, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001543/0.001543, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.1362/0.1362, allocations: 23.89 MB / 337.1 MB, free: 11.18 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.002191/0.002191, allocations: 59.91 kB / 472.5 MB, free: 7.164 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3061, allocations: 59.88 MB / 0.5199 GB, free: 9.84 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.04165/0.3478, allocations: 31.05 MB / 0.5502 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03294/0.3807, allocations: 25.06 MB / 0.5747 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/0.3827, allocations: 35.75 kB / 0.5747 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.3844, allocations: 0.6087 MB / 0.5753 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005704/0.3901, allocations: 1.897 MB / 0.5772 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009813/0.3999, allocations: 3.464 MB / 0.5805 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004394/0.4043, allocations: 2.719 MB / 0.5832 GB, free: 9.129 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/0.4064, allocations: 1.422 MB / 0.5846 GB, free: 7.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/0.4081, allocations: 1.278 MB / 0.5858 GB, free: 6.379 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002235/0.4103, allocations: 1.444 MB / 0.5872 GB, free: 4.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004762/0.4108, allocations: 260 kB / 0.5875 GB, free: 4.676 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007981/0.4188, allocations: 2.734 MB / 0.5902 GB, free: 1.938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008311/0.4196, allocations: 0.5959 MB / 0.5907 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001772/0.4214, allocations: 1.283 MB / 0.592 GB, free: 52 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01283/0.4342, allocations: 5.712 MB / 0.5976 GB, free: 10.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4342, allocations: 4 kB / 0.5976 GB, free: 10.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4342, allocations: 0 / 0.5976 GB, free: 10.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.321e-05/0.4343, allocations: 0 / 0.5976 GB, free: 10.31 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.006201/0.4405, allocations: 2.96 MB / 0.6005 GB, free: 7.301 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.4405, allocations: 12.03 kB / 0.6005 GB, free: 7.289 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002102/0.4426, allocations: 0.5181 MB / 0.601 GB, free: 6.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.4452, allocations: 1.223 MB / 0.6022 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002737/0.4455, allocations: 267.4 kB / 0.6024 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003966/0.4459, allocations: 220 kB / 0.6026 GB, free: 5.004 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004599/0.4505, allocations: 2.716 MB / 0.6053 GB, free: 2.176 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.183e-05/0.4505, allocations: 7.938 kB / 0.6053 GB, free: 2.168 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/0.4507, allocations: 92 kB / 0.6054 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.216e-05/0.4508, allocations: 52 kB / 0.6054 GB, free: 2.027 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005249/0.456, allocations: 3.191 MB / 0.6086 GB, free: 14.83 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.01618/0.4722, allocations: 9.232 MB / 0.6176 GB, free: 5.242 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/0.4748, allocations: 1.466 MB / 0.619 GB, free: 3.758 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.4763, allocations: 0.8302 MB / 0.6198 GB, free: 2.918 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.4867, allocations: 4.599 MB / 0.6243 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.4868, allocations: 47.56 kB / 0.6244 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001039/0.4878, allocations: 242.6 kB / 0.6246 GB, free: 14 MB / 478.1 MB Notification: Performance of pre-optimization done (n=113): time 3.376e-06/0.4878, allocations: 0 / 0.6246 GB, free: 14 MB / 478.1 MB Notification: Performance of matching and sorting (n=161): time 0.03626/0.5241, allocations: 9.31 MB / 0.6337 GB, free: 4.625 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/0.5242, allocations: 124.1 kB / 0.6338 GB, free: 4.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.526, allocations: 1.353 MB / 0.6351 GB, free: 3.109 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000218/0.5262, allocations: 53.7 kB / 0.6352 GB, free: 3.051 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008274/0.527, allocations: 1.088 MB / 0.6362 GB, free: 1.949 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005916/0.5276, allocations: 0.5811 MB / 0.6368 GB, free: 1.363 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006832/0.5283, allocations: 476.7 kB / 0.6373 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5284, allocations: 305.1 kB / 0.6375 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.5299, allocations: 0.852 MB / 0.6384 GB, free: 15.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002285/0.5322, allocations: 1.716 MB / 0.6401 GB, free: 13.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004034/0.5362, allocations: 2.705 MB / 0.6427 GB, free: 10.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.78e-05/0.5362, allocations: 8 kB / 0.6427 GB, free: 10.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009076/0.5453, allocations: 3.48 MB / 0.6461 GB, free: 6.996 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.5453, allocations: 19.94 kB / 0.6461 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.345e-05/0.5454, allocations: 28.53 kB / 0.6461 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005443/0.5508, allocations: 1.159 MB / 0.6473 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/0.5528, allocations: 0.5148 MB / 0.6478 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.5637, allocations: 7.318 MB / 0.6549 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.5656, allocations: 107.8 kB / 0.655 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000304/0.5659, allocations: 144 kB / 0.6552 GB, free: 13.33 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.0009185/0.5668, allocations: 445.5 kB / 0.6556 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004242/0.5673, allocations: 170.9 kB / 0.6558 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008154/0.5754, allocations: 2.841 MB / 0.6585 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/0.5754, allocations: 20 kB / 0.6586 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5755, allocations: 0 / 0.6586 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.108e-05/0.5755, allocations: 11.97 kB / 0.6586 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/0.5877, allocations: 4.824 MB / 0.6633 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.5877, allocations: 4 kB / 0.6633 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.5889, allocations: 259.9 kB / 0.6635 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005046/0.5939, allocations: 1.038 MB / 0.6645 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002794/0.5942, allocations: 59.95 kB / 0.6646 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009257/0.6035, allocations: 6.626 MB / 0.6711 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6035, allocations: 0 / 0.6711 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009147/0.6126, allocations: 3.658 MB / 0.6746 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/0.6131, allocations: 146.9 kB / 0.6748 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002658/0.6134, allocations: 32 kB / 0.6748 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.6144, allocations: 47.92 kB / 0.6749 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003905/0.6148, allocations: 157 kB / 0.675 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/0.6149, allocations: 71.95 kB / 0.6751 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00123/0.6162, allocations: 0.8882 MB / 0.6759 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6162, allocations: 0 / 0.6759 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003757/0.6199, allocations: 1.114 MB / 0.677 GB, free: 6.375 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.00236/0.6223, allocations: 1.151 MB / 0.6782 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005558/0.6278, allocations: 2.578 MB / 0.6807 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.6279, allocations: 0 / 0.6807 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002694/0.6305, allocations: 1.332 MB / 0.682 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.6322, allocations: 278.8 kB / 0.6822 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00703/0.6393, allocations: 3.741 MB / 0.6859 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.6404, allocations: 1.395 MB / 0.6873 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008188/0.6412, allocations: 295.2 kB / 0.6875 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of SimCode: time 9.11e-07/0.6412, allocations: 0 / 0.6875 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of Templates: time 0.2787/0.9199, allocations: 72.72 MB / 0.7586 GB, free: 164.8 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 os._exit(0), Time elapsed: 10.526755326020066] Failed to read output from testmodel.py, exit status != 0: 0.9292528369987849 0.938034639 0.5014208339999999 Calling exit ...