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.001594/0.001594, allocations: 102.1 kB / 19.7 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.001493/0.001493, allocations: 218.7 kB / 23.01 MB, free: 4.609 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.1328/0.1328, allocations: 23.86 MB / 337 MB, free: 11.23 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.002029/0.002029, allocations: 63.89 kB / 472.4 MB, free: 7.219 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3333, allocations: 59.86 MB / 0.5198 GB, free: 9.844 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.04702/0.3803, allocations: 30.96 MB / 0.55 GB, free: 9.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03286/0.4132, allocations: 25.07 MB / 0.5745 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.4157, allocations: 35.75 kB / 0.5746 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002365/0.418, allocations: 0.6087 MB / 0.5752 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007173/0.4252, allocations: 1.89 MB / 0.577 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01091/0.4361, allocations: 3.48 MB / 0.5804 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004622/0.4407, allocations: 2.699 MB / 0.583 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002598/0.4433, allocations: 1.43 MB / 0.5844 GB, free: 7.832 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.4457, allocations: 1.282 MB / 0.5857 GB, free: 6.547 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002754/0.4485, allocations: 1.448 MB / 0.5871 GB, free: 5.094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008008/0.4493, allocations: 260 kB / 0.5873 GB, free: 4.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008887/0.4581, allocations: 2.726 MB / 0.59 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001075/0.4592, allocations: 0.6076 MB / 0.5906 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00242/0.4616, allocations: 1.276 MB / 0.5918 GB, free: 224 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.4756, allocations: 5.708 MB / 0.5974 GB, free: 10.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.4756, allocations: 4 kB / 0.5974 GB, free: 10.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4756, allocations: 4 kB / 0.5974 GB, free: 10.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000141/0.4757, allocations: 0 / 0.5974 GB, free: 10.48 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.007917/0.4836, allocations: 2.956 MB / 0.6003 GB, free: 7.473 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.4837, allocations: 12.03 kB / 0.6003 GB, free: 7.461 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002461/0.4861, allocations: 0.5181 MB / 0.6008 GB, free: 6.941 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002882/0.489, allocations: 1.223 MB / 0.602 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002801/0.4893, allocations: 279.4 kB / 0.6023 GB, free: 5.379 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005632/0.4899, allocations: 216 kB / 0.6025 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005447/0.4953, allocations: 2.716 MB / 0.6052 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.268e-05/0.4954, allocations: 0 / 0.6052 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002624/0.4956, allocations: 91.94 kB / 0.6052 GB, free: 2.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.005e-05/0.4957, allocations: 52 kB / 0.6053 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005519/0.5012, allocations: 3.183 MB / 0.6084 GB, free: 15.01 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.01642/0.5176, allocations: 9.225 MB / 0.6174 GB, free: 5.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/0.5203, allocations: 1.466 MB / 0.6188 GB, free: 3.945 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.5217, allocations: 0.8341 MB / 0.6197 GB, free: 3.102 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01097/0.5327, allocations: 4.603 MB / 0.6241 GB, free: 14.47 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.5327, allocations: 51.5 kB / 0.6242 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001128/0.5338, allocations: 238.6 kB / 0.6244 GB, free: 14.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=113): time 5.701e-06/0.5338, allocations: 0 / 0.6244 GB, free: 14.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=161): time 0.03747/0.5713, allocations: 9.314 MB / 0.6335 GB, free: 4.801 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/0.5714, allocations: 120.1 kB / 0.6336 GB, free: 4.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.5732, allocations: 1.357 MB / 0.635 GB, free: 3.285 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.5734, allocations: 53.7 kB / 0.635 GB, free: 3.227 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009025/0.5743, allocations: 1.088 MB / 0.6361 GB, free: 2.125 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006429/0.5749, allocations: 0.5811 MB / 0.6366 GB, free: 1.539 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007138/0.5756, allocations: 480.6 kB / 0.6371 GB, free: 1.062 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5758, allocations: 309 kB / 0.6374 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.5773, allocations: 0.852 MB / 0.6382 GB, free: 15.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00228/0.5796, allocations: 1.709 MB / 0.6399 GB, free: 13.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004096/0.5837, allocations: 2.705 MB / 0.6425 GB, free: 10.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/0.5837, allocations: 8 kB / 0.6425 GB, free: 10.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009827/0.5935, allocations: 3.48 MB / 0.6459 GB, free: 7.172 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.519e-05/0.5936, allocations: 19.94 kB / 0.646 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.798e-05/0.5937, allocations: 28.53 kB / 0.646 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005802/0.5995, allocations: 1.161 MB / 0.6471 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.6015, allocations: 0.5109 MB / 0.6476 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.613, allocations: 7.315 MB / 0.6548 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/0.6149, allocations: 111.8 kB / 0.6549 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/0.6152, allocations: 140 kB / 0.655 GB, free: 13.51 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.0009093/0.6161, allocations: 456.8 kB / 0.6554 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003985/0.6165, allocations: 166.9 kB / 0.6556 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008413/0.6249, allocations: 2.838 MB / 0.6584 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.6249, allocations: 20 kB / 0.6584 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.6249, allocations: 4 kB / 0.6584 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/0.6249, allocations: 7.969 kB / 0.6584 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.637, allocations: 4.832 MB / 0.6631 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.637, allocations: 0 / 0.6631 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.6382, allocations: 259.9 kB / 0.6634 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005065/0.6433, allocations: 1.038 MB / 0.6644 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/0.6434, allocations: 59.95 kB / 0.6644 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009361/0.6528, allocations: 6.617 MB / 0.6709 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6528, allocations: 0 / 0.6709 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009212/0.662, allocations: 3.666 MB / 0.6745 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004338/0.6624, allocations: 146.9 kB / 0.6746 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/0.6627, allocations: 36 kB / 0.6747 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.6637, allocations: 35.98 kB / 0.6747 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003454/0.664, allocations: 164.9 kB / 0.6748 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/0.6642, allocations: 67.97 kB / 0.6749 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001212/0.6654, allocations: 0.8921 MB / 0.6758 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.6654, allocations: 0 / 0.6758 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003406/0.6688, allocations: 1.111 MB / 0.6769 GB, free: 6.551 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.002081/0.6709, allocations: 1.164 MB / 0.678 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005419/0.6763, allocations: 2.586 MB / 0.6805 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.6763, allocations: 4.281 kB / 0.6805 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002626/0.6789, allocations: 1.308 MB / 0.6818 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.6805, allocations: 286.2 kB / 0.6821 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0069/0.6874, allocations: 3.744 MB / 0.6857 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.6885, allocations: 1.395 MB / 0.6871 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008229/0.6894, allocations: 295.2 kB / 0.6874 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/0.6894, allocations: 0 / 0.6874 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of Templates: time 0.3035/0.9929, allocations: 72.71 MB / 0.7584 GB, free: 165.5 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 os._exit(0), Time elapsed: 11.553313582902774] Failed to read output from testmodel.py, exit status != 0: 1.001760093960911 1.010850464 0.5328276639999999 Calling exit ...