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.001603/0.001603, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001291/0.001291, allocations: 169 kB / 23.02 MB, free: 1.551 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.9424/0.9424, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.0976/0.0976, allocations: 17.46 MB / 277.4 MB, free: 11.56 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 7.875 kB / 353.6 MB, free: 9.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.666e-05, allocations: 6.25 kB / 353.6 MB, free: 9.836 MB / 282.7 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.02651/0.02653, allocations: 33.42 MB / 387 MB, free: 8.527 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01418/0.04071, allocations: 16.58 MB / 403.6 MB, free: 7.895 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009854/0.0417, allocations: 31.75 kB / 403.6 MB, free: 7.863 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000891/0.04259, allocations: 448.1 kB / 404 MB, free: 7.422 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.04574, allocations: 1.652 MB / 405.7 MB, free: 5.758 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004393/0.05014, allocations: 2.366 MB / 408 MB, free: 3.379 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001865/0.052, allocations: 2.791 MB / 410.8 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1219/0.1739, allocations: 1.468 MB / 412.3 MB, free: 36.76 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003131/0.1771, allocations: 1.824 MB / 414.1 MB, free: 36.76 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002218/0.1793, allocations: 1.183 MB / 415.3 MB, free: 36.76 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007855/0.1801, allocations: 262.7 kB / 415.6 MB, free: 36.76 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004231/0.1843, allocations: 1.706 MB / 417.3 MB, free: 36.76 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006162/0.1849, allocations: 0.6205 MB / 417.9 MB, free: 36.76 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001892/0.1868, allocations: 0.9293 MB / 418.8 MB, free: 36.76 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007305/0.1941, allocations: 3.861 MB / 422.7 MB, free: 36.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1941, allocations: 0 / 422.7 MB, free: 36.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1941, allocations: 0 / 422.7 MB, free: 36.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.931e-05/0.1941, allocations: 3.125 kB / 422.7 MB, free: 36.43 MB / 330.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.003201/0.1973, allocations: 2.886 MB / 425.6 MB, free: 35.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1974, allocations: 9.5 kB / 425.6 MB, free: 35.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.1987, allocations: 0.8864 MB / 426.5 MB, free: 34.86 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.2001, allocations: 1.236 MB / 427.7 MB, free: 34.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.2002, allocations: 277.1 kB / 428 MB, free: 34.28 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.2004, allocations: 220.5 kB / 428.2 MB, free: 34.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.2025, allocations: 2.088 MB / 430.3 MB, free: 33.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.2026, allocations: 5 kB / 430.3 MB, free: 33.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.2027, allocations: 91.12 kB / 430.4 MB, free: 33.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.2027, allocations: 54.44 kB / 430.4 MB, free: 33.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.205, allocations: 1.937 MB / 432.4 MB, free: 33.06 MB / 330.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.007223/0.2122, allocations: 7.866 MB / 440.2 MB, free: 27.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.2135, allocations: 1.163 MB / 441.4 MB, free: 26.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005555/0.214, allocations: 0.5403 MB / 441.9 MB, free: 26.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004299/0.2183, allocations: 4.011 MB / 445.9 MB, free: 22.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.2183, allocations: 50.39 kB / 446 MB, free: 22.17 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005069/0.2188, allocations: 217 kB / 446.2 MB, free: 21.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 3.657e-06/0.2188, allocations: 2.625 kB / 446.2 MB, free: 21.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.01709/0.2359, allocations: 7.945 MB / 454.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.236, allocations: 124.1 kB / 454.3 MB, free: 14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000998/0.237, allocations: 1.144 MB / 455.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.2371, allocations: 57.7 kB / 455.5 MB, free: 12.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003958/0.2375, allocations: 1.144 MB / 456.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.2378, allocations: 0.5858 MB / 457.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004748/0.2383, allocations: 477.5 kB / 457.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.437e-05/0.2383, allocations: 480.7 kB / 458.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007502/0.239, allocations: 452.5 kB / 458.6 MB, free: 9.664 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.2401, allocations: 1.679 MB / 460.3 MB, free: 7.449 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/0.2422, allocations: 2.362 MB / 462.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/0.2423, allocations: 8 kB / 462.6 MB, free: 4.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.005125/0.2474, allocations: 2.623 MB / 465.3 MB, free: 2.262 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.2474, allocations: 19.47 kB / 465.3 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.099e-05/0.2474, allocations: 28 kB / 465.3 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003792/0.2512, allocations: 1.055 MB / 466.4 MB, free: 1.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.2525, allocations: 0.5057 MB / 466.9 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007215/0.2597, allocations: 8.058 MB / 474.9 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.2612, allocations: 102.5 kB / 475 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004588/0.2616, allocations: 147 kB / 475.2 MB, free: 8.094 MB / 346.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.0006233/0.2622, allocations: 313.2 kB / 475.5 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/0.2626, allocations: 211 kB / 475.7 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005033/0.2677, allocations: 2.136 MB / 477.8 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.2677, allocations: 16 kB / 477.8 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2677, allocations: 6.656 kB / 477.8 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.2677, allocations: 7.969 kB / 477.8 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007479/0.2752, allocations: 3.54 MB / 481.4 MB, free: 1.969 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.2752, allocations: 0 / 481.4 MB, free: 1.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007884/0.276, allocations: 264.5 kB / 481.6 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003679/0.2797, allocations: 0.934 MB / 482.6 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003909/0.28, allocations: 59.97 kB / 482.6 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006134/0.2862, allocations: 7.436 MB / 490.1 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.2862, allocations: 4 kB / 490.1 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005481/0.2917, allocations: 2.7 MB / 492.8 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/0.292, allocations: 141.5 kB / 492.9 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.2922, allocations: 38.62 kB / 492.9 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006798/0.2928, allocations: 35.98 kB / 493 MB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003222/0.2932, allocations: 168.6 kB / 493.1 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.2933, allocations: 67.97 kB / 493.2 MB, free: 5.805 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007458/0.294, allocations: 0.6313 MB / 493.8 MB, free: 5.168 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.294, allocations: 2.688 kB / 493.8 MB, free: 5.168 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002235/0.2963, allocations: 0.9007 MB / 494.7 MB, free: 4.266 MB / 362.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.0012/0.2975, allocations: 0.8092 MB / 495.6 MB, free: 3.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003206/0.3007, allocations: 2.19 MB / 497.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3007, allocations: 2.719 kB / 497.8 MB, free: 1.445 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.302, allocations: 1.264 MB / 499 MB, free: 156 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.3031, allocations: 313.5 kB / 499.3 MB, free: 15.87 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004891/0.308, allocations: 3.347 MB / 0.4909 GB, free: 12.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.3083, allocations: 345.8 kB / 0.4912 GB, free: 12.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008338/0.3091, allocations: 374.7 kB / 0.4916 GB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/0.3095, allocations: 231.1 kB / 0.4918 GB, free: 11.69 MB / 378.7 MB Notification: Performance of SimCode: time 1.894e-06/0.3095, allocations: 0 / 0.4918 GB, free: 11.69 MB / 378.7 MB Notification: Performance of Templates: time 0.03926/0.3487, allocations: 35.98 MB / 0.5269 GB, free: 8.688 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.126182585023344]