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.0009653/0.0009653, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009309/0.0009309, allocations: 177 kB / 23.5 MB, free: 1.055 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.9955/0.9955, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.09138/0.09138, allocations: 17.46 MB / 277.7 MB, free: 11.61 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 2.474e-06/2.474e-06, allocations: 0 / 353.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.507e-05, allocations: 4.984 kB / 353.6 MB, free: 10.18 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.04354/0.04358, allocations: 33.7 MB / 387.3 MB, free: 8.586 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1599/0.2035, allocations: 25.02 MB / 412.3 MB, free: 33.69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.205, allocations: 33.94 kB / 412.3 MB, free: 33.69 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.2065, allocations: 0.5592 MB / 412.9 MB, free: 33.69 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004547/0.211, allocations: 1.916 MB / 414.8 MB, free: 33.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007511/0.2185, allocations: 3.577 MB / 418.4 MB, free: 32.76 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003926/0.2224, allocations: 2.796 MB / 421.2 MB, free: 32.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001982/0.2244, allocations: 1.473 MB / 422.6 MB, free: 31.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002574/0.227, allocations: 1.824 MB / 424.5 MB, free: 31.79 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/0.2289, allocations: 1.191 MB / 425.7 MB, free: 31.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005787/0.2295, allocations: 263 kB / 425.9 MB, free: 31.61 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006503/0.236, allocations: 2.579 MB / 428.5 MB, free: 31.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007298/0.2368, allocations: 0.6218 MB / 429.1 MB, free: 30.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.2383, allocations: 0.9326 MB / 430.1 MB, free: 30.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.2492, allocations: 5.005 MB / 435.1 MB, free: 28.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2492, allocations: 2.656 kB / 435.1 MB, free: 28.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2492, allocations: 0 / 435.1 MB, free: 28.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.052e-05/0.2493, allocations: 0 / 435.1 MB, free: 28.34 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.003958/0.2532, allocations: 3.057 MB / 438.1 MB, free: 26.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.2533, allocations: 9.75 kB / 438.1 MB, free: 26.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.255, allocations: 0.8894 MB / 439 MB, free: 25.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.2565, allocations: 1.247 MB / 440.3 MB, free: 24.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.2566, allocations: 271.4 kB / 440.5 MB, free: 24.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/0.2568, allocations: 220.4 kB / 440.7 MB, free: 24.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.2591, allocations: 2.089 MB / 442.8 MB, free: 23.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.2591, allocations: 7.094 kB / 442.8 MB, free: 23.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.2593, allocations: 91.31 kB / 442.9 MB, free: 23.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.2593, allocations: 56 kB / 443 MB, free: 23.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002169/0.2615, allocations: 1.938 MB / 444.9 MB, free: 21.26 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.007376/0.2688, allocations: 7.875 MB / 452.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.2701, allocations: 1.164 MB / 454 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005644/0.2707, allocations: 0.5438 MB / 454.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004846/0.2755, allocations: 4.151 MB / 458.7 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.2755, allocations: 51.41 kB / 458.7 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006077/0.2762, allocations: 220.8 kB / 458.9 MB, free: 7.324 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 4.227e-06/0.2762, allocations: 0 / 458.9 MB, free: 7.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.01749/0.2936, allocations: 7.945 MB / 466.9 MB, free: 15.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.2937, allocations: 120.1 kB / 467 MB, free: 15.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.2948, allocations: 1.152 MB / 468.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.2949, allocations: 56.36 kB / 468.2 MB, free: 14.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006198/0.2955, allocations: 1.142 MB / 469.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004184/0.2959, allocations: 0.583 MB / 469.9 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004913/0.2964, allocations: 474.8 kB / 470.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2966, allocations: 480.8 kB / 470.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007253/0.2973, allocations: 459.6 kB / 471.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.2987, allocations: 1.679 MB / 473 MB, free: 8.801 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/0.3009, allocations: 2.357 MB / 475.3 MB, free: 6.059 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/0.3009, allocations: 8 kB / 475.3 MB, free: 6.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004792/0.3057, allocations: 2.624 MB / 478 MB, free: 3.621 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.3058, allocations: 16 kB / 478 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-05/0.3058, allocations: 28 kB / 478 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00324/0.309, allocations: 1.052 MB / 479.1 MB, free: 2.547 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.3101, allocations: 0.5106 MB / 479.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00635/0.3165, allocations: 8.061 MB / 487.6 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.3179, allocations: 102.5 kB / 487.7 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/0.3181, allocations: 143.9 kB / 487.9 MB, free: 9.453 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.0006059/0.3187, allocations: 313.9 kB / 488.2 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003796/0.319, allocations: 209.6 kB / 488.4 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004108/0.3232, allocations: 2.139 MB / 490.5 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.3232, allocations: 16 kB / 490.5 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3232, allocations: 4 kB / 490.5 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.3232, allocations: 7.969 kB / 490.5 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006239/0.3294, allocations: 3.551 MB / 494.1 MB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.3294, allocations: 4 kB / 494.1 MB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/0.33, allocations: 254.5 kB / 494.4 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002989/0.333, allocations: 0.9314 MB / 495.3 MB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.3332, allocations: 70.55 kB / 495.4 MB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005239/0.3384, allocations: 7.421 MB / 0.491 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.3384, allocations: 2.719 kB / 0.491 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004518/0.3429, allocations: 2.705 MB / 0.4936 GB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003692/0.3433, allocations: 141.6 kB / 0.4938 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.3434, allocations: 28 kB / 0.4938 GB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/0.3439, allocations: 43.98 kB / 0.4938 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002901/0.3442, allocations: 156.1 kB / 0.494 GB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.954e-05/0.3443, allocations: 71.95 kB / 0.4941 GB, free: 7.168 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006148/0.3449, allocations: 0.6391 MB / 0.4947 GB, free: 6.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3449, allocations: 0 / 0.4947 GB, free: 6.523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002838/0.3478, allocations: 1.109 MB / 0.4958 GB, free: 5.414 MB / 378.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.001908/0.3497, allocations: 1.197 MB / 0.4969 GB, free: 4.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003179/0.3529, allocations: 2.198 MB / 0.4991 GB, free: 2.199 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.778e-06/0.3529, allocations: 0 / 0.4991 GB, free: 2.199 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001432/0.3543, allocations: 1.266 MB / 0.5003 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.3554, allocations: 319 kB / 0.5006 GB, free: 0.5938 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.004841/0.3603, allocations: 3.349 MB / 0.5039 GB, free: 13.24 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.3605, allocations: 347.1 kB / 0.5042 GB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009256/0.3615, allocations: 380 kB / 0.5046 GB, free: 12.62 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003584/0.3618, allocations: 227.1 kB / 0.5048 GB, free: 12.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.803e-06/0.3618, allocations: 4 kB / 0.5048 GB, free: 12.4 MB / 394.7 MB Notification: Performance of Templates: time 0.04266/0.4045, allocations: 41.39 MB / 0.5452 GB, free: 3.789 MB / 426.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.307949987007305]