Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.ClimateChange.ElectrochemicalAcetateProduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 113.9 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 198.1 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08655/0.08655, allocations: 15.53 MB / 318.9 MB, free: 13.61 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.ElectrochemicalAcetateProduction") translateModel(Chemical.Examples.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.ElectrochemicalAcetateProduction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 66.44 kB / 446.1 MB, free: 47.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08523/0.08709, allocations: 56.56 MB / 0.4909 GB, free: 20.64 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.ClimateChange.ElectrochemicalAcetateProduction): time 0.03451/0.1216, allocations: 30.68 MB / 0.5208 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03211/0.1537, allocations: 24.96 MB / 0.5452 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.1554, allocations: 23.88 kB / 0.5452 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.1571, allocations: 0.597 MB / 0.5458 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005678/0.1627, allocations: 1.878 MB / 0.5476 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009126/0.1719, allocations: 3.456 MB / 0.551 GB, free: 9.816 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004136/0.176, allocations: 2.695 MB / 0.5536 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.1779, allocations: 1.457 MB / 0.5551 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.1795, allocations: 1.254 MB / 0.5563 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002073/0.1816, allocations: 1.448 MB / 0.5577 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004536/0.182, allocations: 260 kB / 0.558 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008211/0.1903, allocations: 2.734 MB / 0.5606 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008044/0.1911, allocations: 0.5997 MB / 0.5612 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.1927, allocations: 1.272 MB / 0.5625 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0118/0.2045, allocations: 5.548 MB / 0.5679 GB, free: 8.453 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2045, allocations: 4 kB / 0.5679 GB, free: 8.449 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2045, allocations: 0 / 0.5679 GB, free: 8.449 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.062e-05/0.2046, allocations: 4 kB / 0.5679 GB, free: 8.445 MB / 430.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.005902/0.2105, allocations: 3.031 MB / 0.5708 GB, free: 5.344 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2105, allocations: 12.03 kB / 0.5709 GB, free: 5.332 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.2125, allocations: 0.5141 MB / 0.5714 GB, free: 4.816 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.2147, allocations: 1.276 MB / 0.5726 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.2149, allocations: 224 kB / 0.5728 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003597/0.2152, allocations: 219.9 kB / 0.573 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00483/0.22, allocations: 2.7 MB / 0.5757 GB, free: 236 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.106e-05/0.2201, allocations: 7.938 kB / 0.5757 GB, free: 228 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000218/0.2203, allocations: 88 kB / 0.5758 GB, free: 140 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.657e-05/0.2204, allocations: 56 kB / 0.5758 GB, free: 84 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005277/0.2256, allocations: 3.168 MB / 0.5789 GB, free: 12.91 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.01481/0.2405, allocations: 9.301 MB / 0.588 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.2431, allocations: 1.759 MB / 0.5897 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.2445, allocations: 0.8296 MB / 0.5905 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01132/0.2558, allocations: 7.493 MB / 0.5978 GB, free: 8.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.2559, allocations: 47.56 kB / 0.5979 GB, free: 8.266 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001057/0.2569, allocations: 238.7 kB / 0.5981 GB, free: 8.031 MB / 462.1 MB Notification: Performance of pre-optimization done (n=113): time 3.216e-06/0.2569, allocations: 0 / 0.5981 GB, free: 8.031 MB / 462.1 MB Notification: Performance of matching and sorting (n=161): time 0.2766/0.5335, allocations: 9.532 MB / 0.6074 GB, free: 98.26 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.5336, allocations: 126 kB / 0.6075 GB, free: 98.13 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.5354, allocations: 1.343 MB / 0.6088 GB, free: 97.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000274/0.5357, allocations: 52.78 kB / 0.6089 GB, free: 97.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006404/0.5364, allocations: 1.086 MB / 0.61 GB, free: 97.08 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006159/0.537, allocations: 0.5896 MB / 0.6105 GB, free: 96.69 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007526/0.5377, allocations: 477.7 kB / 0.611 GB, free: 96.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.268e-05/0.5378, allocations: 306 kB / 0.6113 GB, free: 96.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.5393, allocations: 0.8471 MB / 0.6121 GB, free: 95.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.5411, allocations: 1.706 MB / 0.6138 GB, free: 94.44 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/0.5448, allocations: 2.698 MB / 0.6164 GB, free: 92.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.825e-05/0.5448, allocations: 8.031 kB / 0.6164 GB, free: 92.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.008971/0.5538, allocations: 3.478 MB / 0.6198 GB, free: 91.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/0.5539, allocations: 20.16 kB / 0.6198 GB, free: 91.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-05/0.5539, allocations: 28 kB / 0.6199 GB, free: 91.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005111/0.559, allocations: 1.154 MB / 0.621 GB, free: 90.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/0.5609, allocations: 0.5106 MB / 0.6215 GB, free: 90.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008312/0.5692, allocations: 7.621 MB / 0.6289 GB, free: 84.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/0.5713, allocations: 111.1 kB / 0.629 GB, free: 84.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003517/0.5716, allocations: 144.8 kB / 0.6292 GB, free: 84.61 MB / 462.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.0008857/0.5725, allocations: 445.6 kB / 0.6296 GB, free: 84.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000398/0.5729, allocations: 173.8 kB / 0.6298 GB, free: 84.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007034/0.5799, allocations: 2.831 MB / 0.6325 GB, free: 83.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.58, allocations: 19.83 kB / 0.6325 GB, free: 83.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.58, allocations: 3.781 kB / 0.6325 GB, free: 83.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.651e-05/0.58, allocations: 8.781 kB / 0.6326 GB, free: 83.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.5902, allocations: 4.86 MB / 0.6373 GB, free: 80.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.5902, allocations: 4.375 kB / 0.6373 GB, free: 80.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.5913, allocations: 258.9 kB / 0.6376 GB, free: 79.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004346/0.5956, allocations: 1.037 MB / 0.6386 GB, free: 79.47 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001743/0.5958, allocations: 64.02 kB / 0.6386 GB, free: 79.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006472/0.6022, allocations: 6.916 MB / 0.6454 GB, free: 72.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6023, allocations: 7.938 kB / 0.6454 GB, free: 72.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007263/0.6095, allocations: 3.661 MB / 0.649 GB, free: 68.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.6099, allocations: 222.4 kB / 0.6492 GB, free: 68.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/0.6101, allocations: 46.56 kB / 0.6492 GB, free: 68.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009858/0.6111, allocations: 39.98 kB / 0.6493 GB, free: 68.63 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003044/0.6114, allocations: 139.8 kB / 0.6494 GB, free: 68.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.6115, allocations: 75.95 kB / 0.6495 GB, free: 68.42 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008223/0.6123, allocations: 0.8842 MB / 0.6503 GB, free: 67.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6123, allocations: 0 / 0.6503 GB, free: 67.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00313/0.6155, allocations: 1.111 MB / 0.6514 GB, free: 66.59 MB / 462.1 MB 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.001848/0.6173, allocations: 1.156 MB / 0.6525 GB, free: 65.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004477/0.6218, allocations: 2.653 MB / 0.6551 GB, free: 62.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.6218, allocations: 4 kB / 0.6551 GB, free: 62.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002076/0.6239, allocations: 1.388 MB / 0.6565 GB, free: 61.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.6255, allocations: 273.8 kB / 0.6567 GB, free: 61.26 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005332/0.6308, allocations: 3.737 MB / 0.6604 GB, free: 57.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.6315, allocations: 1.398 MB / 0.6618 GB, free: 56.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007156/0.6322, allocations: 289.6 kB / 0.662 GB, free: 55.9 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6322, allocations: 0 / 0.662 GB, free: 55.9 MB / 462.1 MB Notification: Performance of Templates: time 0.06081/0.693, allocations: 72.08 MB / 0.7324 GB, free: 0.6523 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.ClimateChange.ElectrochemicalAcetateProduction.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; mkfifo Chemical_Chemical.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe >> ../files/Chemical_Chemical.Examples.ClimateChange.ElectrochemicalAcetateProduction.sim & ./Chemical_Chemical.Examples.ClimateChange.ElectrochemicalAcetateProduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.113883442012593] Failed to read output from testmodel.py, exit status != 0: 0.8564701769500971 0.714312072 0.5068504730000001 Calling exit ...