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.001739/0.001739, allocations: 84.73 kB / 19.44 MB, free: 360 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.002232/0.002232, allocations: 157.7 kB / 22.75 MB, free: 1.688 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.504/1.504, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.1394/0.1394, allocations: 17.37 MB / 276.9 MB, free: 11.67 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 2.144e-06/2.144e-06, allocations: 0 / 352.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.408e-05, allocations: 2.312 kB / 352.7 MB, free: 10.31 MB / 282.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.05807/0.05811, allocations: 30.3 MB / 383 MB, free: 12.13 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03314/0.09125, allocations: 21.96 MB / 405 MB, free: 6.086 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.09276, allocations: 31.75 kB / 405 MB, free: 6.055 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.09484, allocations: 0.5657 MB / 405.6 MB, free: 5.484 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006217/0.1011, allocations: 1.908 MB / 407.5 MB, free: 3.562 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1728/0.2738, allocations: 3.576 MB / 411.1 MB, free: 34.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00493/0.2788, allocations: 2.792 MB / 413.9 MB, free: 34.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00241/0.2812, allocations: 1.469 MB / 415.3 MB, free: 33.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003735/0.2849, allocations: 1.815 MB / 417.1 MB, free: 33.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.2877, allocations: 1.131 MB / 418.3 MB, free: 33.79 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006748/0.2884, allocations: 262.5 kB / 418.5 MB, free: 33.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007788/0.2961, allocations: 2.58 MB / 421.1 MB, free: 33.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000856/0.297, allocations: 0.6252 MB / 421.7 MB, free: 33.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001759/0.2988, allocations: 0.9196 MB / 422.7 MB, free: 33.53 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.3103, allocations: 6.015 MB / 428.7 MB, free: 32.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3103, allocations: 0 / 428.7 MB, free: 32.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3103, allocations: 3.219 kB / 428.7 MB, free: 32.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001019/0.3104, allocations: 0 / 428.7 MB, free: 32.09 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.006623/0.317, allocations: 2.932 MB / 431.6 MB, free: 30.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.317, allocations: 8.844 kB / 431.6 MB, free: 30.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/0.3197, allocations: 0.8888 MB / 432.5 MB, free: 30.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002628/0.3224, allocations: 1.252 MB / 433.8 MB, free: 29.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.3225, allocations: 271.2 kB / 434 MB, free: 29.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003431/0.3229, allocations: 223.7 kB / 434.2 MB, free: 29.13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004004/0.3269, allocations: 2.733 MB / 437 MB, free: 27.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.314e-05/0.3269, allocations: 3.094 kB / 437 MB, free: 27.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002308/0.3272, allocations: 89.72 kB / 437.1 MB, free: 27.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/0.3272, allocations: 53.03 kB / 437.1 MB, free: 27.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0041/0.3313, allocations: 3.161 MB / 440.3 MB, free: 24.9 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.0116/0.3429, allocations: 7.821 MB / 448.1 MB, free: 17.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/0.3449, allocations: 1.454 MB / 449.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.3459, allocations: 0.8365 MB / 450.4 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00817/0.3541, allocations: 4.473 MB / 454.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3541, allocations: 50.84 kB / 454.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009745/0.3551, allocations: 221 kB / 455.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 3.086e-06/0.3551, allocations: 0 / 455.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.03316/0.3883, allocations: 9.353 MB / 464.5 MB, free: 0.957 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.3883, allocations: 127.5 kB / 464.6 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.3898, allocations: 1.304 MB / 465.9 MB, free: 15.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000206/0.39, allocations: 56.36 kB / 466 MB, free: 15.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009181/0.3909, allocations: 1.093 MB / 467 MB, free: 14.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006625/0.3916, allocations: 0.5689 MB / 467.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/0.3926, allocations: 472.6 kB / 468.1 MB, free: 13.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3928, allocations: 305.1 kB / 468.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.3944, allocations: 0.852 MB / 469.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002625/0.3971, allocations: 1.717 MB / 470.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004458/0.4015, allocations: 2.699 MB / 473.6 MB, free: 7.113 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/0.4015, allocations: 10.62 kB / 473.7 MB, free: 7.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01038/0.4119, allocations: 3.588 MB / 477.2 MB, free: 3.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/0.412, allocations: 20 kB / 477.3 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.672e-05/0.412, allocations: 28 kB / 477.3 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00732/0.4193, allocations: 1.302 MB / 478.6 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/0.4215, allocations: 0.5178 MB / 479.1 MB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/0.4344, allocations: 7.219 MB / 486.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/0.4369, allocations: 106.5 kB / 486.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003828/0.4373, allocations: 140 kB / 486.6 MB, free: 10.2 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.001087/0.4384, allocations: 447.8 kB / 487 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006108/0.439, allocations: 207 kB / 487.2 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00922/0.4482, allocations: 2.827 MB / 490 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.799e-05/0.4482, allocations: 20 kB / 490.1 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.4482, allocations: 4 kB / 490.1 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.834e-05/0.4483, allocations: 13.66 kB / 490.1 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/0.4611, allocations: 4.36 MB / 494.4 MB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.4611, allocations: 0 / 494.4 MB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.4623, allocations: 261 kB / 494.7 MB, free: 2.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006724/0.4691, allocations: 1.175 MB / 495.9 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002606/0.4693, allocations: 55.97 kB / 495.9 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.4799, allocations: 6.522 MB / 0.4907 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.4799, allocations: 6.656 kB / 0.4907 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/0.4905, allocations: 3.701 MB / 0.4943 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005114/0.4911, allocations: 139 kB / 0.4944 GB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003027/0.4914, allocations: 36 kB / 0.4945 GB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.4924, allocations: 35.98 kB / 0.4945 GB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004728/0.4929, allocations: 160.3 kB / 0.4946 GB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/0.4931, allocations: 76.3 kB / 0.4947 GB, free: 6.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001309/0.4944, allocations: 0.8228 MB / 0.4955 GB, free: 5.234 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4944, allocations: 0 / 0.4955 GB, free: 5.234 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004356/0.4987, allocations: 1.107 MB / 0.4966 GB, free: 4.125 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.002978/0.5017, allocations: 1.194 MB / 0.4978 GB, free: 3.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006341/0.5081, allocations: 2.586 MB / 0.5003 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.5081, allocations: 0 / 0.5003 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003183/0.5113, allocations: 1.314 MB / 0.5016 GB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.5133, allocations: 316.1 kB / 0.5019 GB, free: 15.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007905/0.5212, allocations: 3.613 MB / 0.5054 GB, free: 11.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.5223, allocations: 0.8213 MB / 0.5062 GB, free: 10.58 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001592/0.5239, allocations: 383.9 kB / 0.5066 GB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006362/0.5245, allocations: 223.1 kB / 0.5068 GB, free: 10.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.553e-06/0.5245, allocations: 0 / 0.5068 GB, free: 10.1 MB / 394.7 MB Notification: Performance of Templates: time 0.0756/0.6001, allocations: 41.01 MB / 0.5468 GB, free: 1.875 MB / 426.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.794355956022628]