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.0009004/0.0009004, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009944/0.0009944, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9514/0.9514, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.08386/0.08386, allocations: 17.39 MB / 277.6 MB, free: 11.52 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 300.7 MB, free: 1.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.247e-05, allocations: 3.016 kB / 300.7 MB, free: 1.816 MB / 266.7 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.03087/0.03089, allocations: 39.13 MB / 339.8 MB, free: 13.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.04509, allocations: 16.5 MB / 356.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007638/0.04585, allocations: 31.75 kB / 356.3 MB, free: 12.83 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007866/0.04664, allocations: 464 kB / 356.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002727/0.04936, allocations: 1.64 MB / 358.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003781/0.05315, allocations: 2.346 MB / 360.8 MB, free: 8.359 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002034/0.05518, allocations: 2.792 MB / 363.6 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.05641, allocations: 1.49 MB / 365.1 MB, free: 3.996 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.05794, allocations: 1.876 MB / 366.9 MB, free: 2.117 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.05898, allocations: 1.212 MB / 368.1 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002234/0.0592, allocations: 260 kB / 368.4 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.06181, allocations: 1.751 MB / 370.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003296/0.06214, allocations: 0.6347 MB / 370.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005919/0.06273, allocations: 0.9316 MB / 371.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003361/0.06609, allocations: 3.903 MB / 375.6 MB, free: 9.406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.06609, allocations: 0 / 375.6 MB, free: 9.406 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.06609, allocations: 4 kB / 375.6 MB, free: 9.402 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.06611, allocations: 0 / 375.6 MB, free: 9.402 MB / 346.7 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.002471/0.06858, allocations: 2.761 MB / 378.4 MB, free: 6.598 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.0686, allocations: 11.97 kB / 378.4 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.06981, allocations: 0.7834 MB / 379.2 MB, free: 5.801 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.07097, allocations: 0.8202 MB / 380 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.07109, allocations: 271.7 kB / 380.3 MB, free: 4.656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.07129, allocations: 224.3 kB / 380.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.07289, allocations: 1.908 MB / 382.4 MB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.07292, allocations: 0 / 382.4 MB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.07303, allocations: 88 kB / 382.5 MB, free: 2.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.07306, allocations: 56 kB / 382.5 MB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.07456, allocations: 1.455 MB / 384 MB, free: 0.8008 MB / 346.7 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.006344/0.0809, allocations: 6.115 MB / 390.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009207/0.08182, allocations: 0.9996 MB / 391.1 MB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003787/0.0822, allocations: 398.2 kB / 391.5 MB, free: 9.094 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004298/0.0865, allocations: 3.381 MB / 394.9 MB, free: 5.691 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.08653, allocations: 43.56 kB / 394.9 MB, free: 5.637 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004251/0.08695, allocations: 226.8 kB / 395.1 MB, free: 5.414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=113): time 2.365e-06/0.08696, allocations: 0 / 395.1 MB, free: 5.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=161): time 0.01557/0.1025, allocations: 7.099 MB / 402.2 MB, free: 14.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.1026, allocations: 120.1 kB / 402.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000655/0.1032, allocations: 1.058 MB / 403.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.152e-05/0.1033, allocations: 53.7 kB / 403.5 MB, free: 12.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/0.1037, allocations: 0.9808 MB / 404.4 MB, free: 11.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/0.1039, allocations: 0.5848 MB / 405 MB, free: 11.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004108/0.1043, allocations: 468.4 kB / 405.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.983e-05/0.1044, allocations: 301.1 kB / 405.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003741/0.1048, allocations: 312.1 kB / 406.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007128/0.1055, allocations: 1.181 MB / 407.3 MB, free: 8.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.107, allocations: 1.799 MB / 409.1 MB, free: 6.547 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.1071, allocations: 8 kB / 409.1 MB, free: 6.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.003137/0.1102, allocations: 1.941 MB / 411 MB, free: 4.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.1102, allocations: 24.03 kB / 411 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/0.1102, allocations: 28 kB / 411.1 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003534/0.1138, allocations: 1.023 MB / 412.1 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.1152, allocations: 0.5538 MB / 412.6 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005496/0.1207, allocations: 5.704 MB / 418.3 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009598/0.1216, allocations: 99.84 kB / 418.4 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/0.1218, allocations: 120 kB / 418.6 MB, free: 12.72 MB / 394.7 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.0004018/0.1222, allocations: 263.9 kB / 418.8 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.1224, allocations: 143.8 kB / 419 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/0.1263, allocations: 1.673 MB / 420.6 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.1263, allocations: 16 kB / 420.6 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1263, allocations: 4 kB / 420.6 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.1263, allocations: 7.969 kB / 420.7 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005586/0.1319, allocations: 2.516 MB / 423.2 MB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.1319, allocations: 4 kB / 423.2 MB, free: 8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008104/0.1327, allocations: 287.6 kB / 423.5 MB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003201/0.1359, allocations: 0.9107 MB / 424.4 MB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.136, allocations: 59.95 kB / 424.4 MB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004417/0.1404, allocations: 5.122 MB / 429.5 MB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.1404, allocations: 8 kB / 429.6 MB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003798/0.1442, allocations: 2.015 MB / 431.6 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.1444, allocations: 127 kB / 431.7 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.1445, allocations: 35.98 kB / 431.7 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005971/0.1451, allocations: 40 kB / 431.8 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/0.1454, allocations: 153 kB / 431.9 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.1455, allocations: 55.97 kB / 432 MB, free: 14.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004549/0.146, allocations: 493.2 kB / 432.5 MB, free: 14.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.146, allocations: 7.938 kB / 432.5 MB, free: 14.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002223/0.1482, allocations: 0.9045 MB / 433.4 MB, free: 13.43 MB / 410.7 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.001107/0.1493, allocations: 0.8143 MB / 434.2 MB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002383/0.1517, allocations: 1.729 MB / 435.9 MB, free: 10.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.282e-05/0.1517, allocations: 28.78 kB / 435.9 MB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.1532, allocations: 0.9679 MB / 436.9 MB, free: 9.793 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.1542, allocations: 311.6 kB / 437.2 MB, free: 9.496 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.1589, allocations: 3.223 MB / 440.4 MB, free: 6.195 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1592, allocations: 343.1 kB / 440.8 MB, free: 5.828 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008881/0.1601, allocations: 355.4 kB / 441.1 MB, free: 5.488 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006455/0.1607, allocations: 460.9 kB / 441.6 MB, free: 5.035 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1607, allocations: 0 / 441.6 MB, free: 5.035 MB / 410.7 MB Notification: Performance of Templates: time 0.1379/0.2986, allocations: 40.16 MB / 481.7 MB, free: 91.91 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8986026742495596]