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.001831/0.001831, allocations: 89.48 kB / 19.44 MB, free: 336 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.002281/0.002281, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.273 MB / 186.7 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.1479/0.1479, allocations: 17.45 MB / 277 MB, free: 11.47 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.603e-06/1.603e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.231e-05, allocations: 4.703 kB / 352.8 MB, free: 10.2 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.04753/0.04757, allocations: 31.44 MB / 384.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04027/0.08784, allocations: 25.01 MB / 409.3 MB, free: 1.781 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.08967, allocations: 31.75 kB / 409.3 MB, free: 1.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.09142, allocations: 0.5657 MB / 409.9 MB, free: 1.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1816/0.273, allocations: 1.901 MB / 411.8 MB, free: 33.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01378/0.2868, allocations: 3.585 MB / 415.4 MB, free: 32.7 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005985/0.2928, allocations: 2.797 MB / 418.2 MB, free: 31.97 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003161/0.2959, allocations: 1.473 MB / 419.6 MB, free: 31.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004318/0.3002, allocations: 1.821 MB / 421.5 MB, free: 31.73 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00323/0.3035, allocations: 1.188 MB / 422.6 MB, free: 31.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008212/0.3043, allocations: 262.8 kB / 422.9 MB, free: 31.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01107/0.3154, allocations: 2.587 MB / 425.5 MB, free: 31.51 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00126/0.3166, allocations: 0.625 MB / 426.1 MB, free: 31.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002321/0.3189, allocations: 0.9262 MB / 427 MB, free: 30.92 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01611/0.3351, allocations: 6.029 MB / 433.1 MB, free: 28.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.3351, allocations: 2.688 kB / 433.1 MB, free: 28.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3351, allocations: 0 / 433.1 MB, free: 28.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001579/0.3352, allocations: 0 / 433.1 MB, free: 28.48 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.009292/0.3445, allocations: 3.204 MB / 436.3 MB, free: 26.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3446, allocations: 11.72 kB / 436.3 MB, free: 26.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/0.3477, allocations: 0.8868 MB / 437.2 MB, free: 25.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/0.3504, allocations: 1.245 MB / 438.4 MB, free: 25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001865/0.3506, allocations: 270.1 kB / 438.7 MB, free: 24.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005169/0.3511, allocations: 227 kB / 438.9 MB, free: 24.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004371/0.3555, allocations: 2.678 MB / 441.6 MB, free: 23.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.485e-05/0.3555, allocations: 3.531 kB / 441.6 MB, free: 23.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/0.3557, allocations: 88.91 kB / 441.7 MB, free: 23.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.506e-05/0.3558, allocations: 58.22 kB / 441.7 MB, free: 23.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00417/0.36, allocations: 2.823 MB / 444.5 MB, free: 20.28 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.01372/0.3737, allocations: 9.017 MB / 453.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.3758, allocations: 1.4 MB / 455 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.3768, allocations: 0.7682 MB / 455.7 MB, free: 9.117 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008423/0.3853, allocations: 4.65 MB / 460.4 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.3853, allocations: 53.58 kB / 460.4 MB, free: 4.453 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009397/0.3862, allocations: 217.5 kB / 460.6 MB, free: 4.242 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 4.068e-06/0.3862, allocations: 0 / 460.6 MB, free: 4.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.03578/0.422, allocations: 9.239 MB / 469.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.4221, allocations: 124.1 kB / 470 MB, free: 10.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.4243, allocations: 1.425 MB / 471.4 MB, free: 9.543 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002306/0.4245, allocations: 53.7 kB / 471.5 MB, free: 9.484 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.4257, allocations: 1.197 MB / 472.7 MB, free: 8.285 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007486/0.4264, allocations: 0.6127 MB / 473.3 MB, free: 7.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009111/0.4273, allocations: 0.5301 MB / 473.8 MB, free: 7.141 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005341/0.4279, allocations: 480.8 kB / 474.3 MB, free: 6.668 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.4294, allocations: 0.7348 MB / 475 MB, free: 5.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002934/0.4323, allocations: 2.019 MB / 477.1 MB, free: 3.375 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005097/0.4374, allocations: 3.072 MB / 480.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.174e-05/0.4374, allocations: 8 kB / 480.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01011/0.4475, allocations: 3.353 MB / 483.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.408e-05/0.4476, allocations: 20 kB / 483.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.071e-05/0.4476, allocations: 30.69 kB / 483.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007058/0.4547, allocations: 1.271 MB / 484.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/0.4569, allocations: 0.5116 MB / 485.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/0.4704, allocations: 9.147 MB / 494.5 MB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/0.4727, allocations: 106.5 kB / 494.6 MB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003827/0.4731, allocations: 142.6 kB / 494.7 MB, free: 1.27 MB / 362.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.001113/0.4742, allocations: 484.9 kB / 495.2 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/0.4754, allocations: 210.4 kB / 495.4 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008969/0.4844, allocations: 2.74 MB / 498.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.87e-05/0.4844, allocations: 16 kB / 498.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.4844, allocations: 4 kB / 498.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.187e-05/0.4845, allocations: 11.97 kB / 498.2 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/0.4988, allocations: 4.643 MB / 0.491 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.4988, allocations: 0 / 0.491 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/0.5, allocations: 257.4 kB / 0.4913 GB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006529/0.5066, allocations: 1.136 MB / 0.4924 GB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000249/0.5068, allocations: 63.95 kB / 0.4924 GB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/0.5193, allocations: 8.368 MB / 0.5006 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5193, allocations: 0 / 0.5006 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.5296, allocations: 3.718 MB / 0.5042 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/0.5301, allocations: 142.9 kB / 0.5044 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/0.5304, allocations: 28 kB / 0.5044 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.5314, allocations: 43.98 kB / 0.5044 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000459/0.5318, allocations: 155.9 kB / 0.5046 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/0.532, allocations: 74.64 kB / 0.5047 GB, free: 10.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00179/0.5338, allocations: 0.7798 MB / 0.5054 GB, free: 10.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5338, allocations: 4 kB / 0.5054 GB, free: 10.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004663/0.5385, allocations: 1.103 MB / 0.5065 GB, free: 9.066 MB / 394.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.002894/0.5414, allocations: 1.197 MB / 0.5077 GB, free: 8.082 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006375/0.5478, allocations: 2.769 MB / 0.5104 GB, free: 5.355 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.5478, allocations: 0 / 0.5104 GB, free: 5.355 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003251/0.551, allocations: 1.532 MB / 0.5119 GB, free: 3.797 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.5529, allocations: 320.2 kB / 0.5122 GB, free: 3.512 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008156/0.5611, allocations: 3.624 MB / 0.5157 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.5622, allocations: 0.8175 MB / 0.5165 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00146/0.5636, allocations: 370.5 kB / 0.5169 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000601/0.5642, allocations: 235.2 kB / 0.5171 GB, free: 14.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.964e-06/0.5642, allocations: 0 / 0.5171 GB, free: 14.59 MB / 410.7 MB Notification: Performance of Templates: time 0.07699/0.6412, allocations: 41.36 MB / 0.5575 GB, free: 5.965 MB / 442.7 MB " [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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.022857318050228]