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.001715/0.001715, allocations: 78.41 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002422/0.002422, allocations: 169.6 kB / 22.46 MB, free: 5.355 MB / 14.72 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.437/1.437, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.1265/0.1265, allocations: 17.46 MB / 276.6 MB, free: 15.22 MB / 270.1 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.623e-06/1.623e-06, allocations: 0 / 412.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.76e-05, allocations: 6.281 kB / 412.1 MB, free: 4.266 MB / 334.1 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.03985/0.03988, allocations: 30.13 MB / 442.2 MB, free: 6.254 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2065/0.2464, allocations: 21.96 MB / 464.2 MB, free: 27.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.2477, allocations: 34.12 kB / 464.2 MB, free: 27.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.2492, allocations: 0.5541 MB / 464.8 MB, free: 26.87 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004868/0.2541, allocations: 1.913 MB / 466.7 MB, free: 25.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009177/0.2633, allocations: 3.584 MB / 470.3 MB, free: 23.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003378/0.2667, allocations: 2.794 MB / 473.1 MB, free: 22.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/0.2683, allocations: 1.421 MB / 474.5 MB, free: 21.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.2702, allocations: 1.818 MB / 476.3 MB, free: 20.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.2716, allocations: 1.126 MB / 477.4 MB, free: 19.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003307/0.2719, allocations: 261 kB / 477.7 MB, free: 19.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006462/0.2784, allocations: 2.589 MB / 480.3 MB, free: 19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000424/0.2788, allocations: 0.6172 MB / 480.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009876/0.2798, allocations: 0.9227 MB / 481.8 MB, free: 17.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.2898, allocations: 6.007 MB / 487.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2898, allocations: 0 / 487.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2898, allocations: 3.938 kB / 487.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.588e-05/0.2899, allocations: 0 / 487.8 MB, free: 12.91 MB / 366.1 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.004794/0.2947, allocations: 2.931 MB / 490.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2947, allocations: 8.031 kB / 490.8 MB, free: 9.938 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.2967, allocations: 0.5103 MB / 491.3 MB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.2986, allocations: 1.226 MB / 492.5 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.2988, allocations: 271.7 kB / 492.8 MB, free: 7.887 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003098/0.2991, allocations: 216.3 kB / 493 MB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003585/0.3027, allocations: 2.741 MB / 495.7 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.183e-05/0.3027, allocations: 0 / 495.7 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/0.3029, allocations: 88 kB / 495.8 MB, free: 4.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.3029, allocations: 58.66 kB / 495.9 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00398/0.3069, allocations: 3.152 MB / 499 MB, free: 1.52 MB / 366.1 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.01353/0.3204, allocations: 7.754 MB / 0.4949 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002627/0.3231, allocations: 1.447 MB / 0.4963 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.3245, allocations: 0.8378 MB / 0.4971 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009607/0.3341, allocations: 4.338 MB / 0.5014 GB, free: 2.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.3341, allocations: 47.56 kB / 0.5014 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009751/0.3351, allocations: 225.4 kB / 0.5016 GB, free: 2.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=113): time 2.925e-06/0.3351, allocations: 6.625 kB / 0.5016 GB, free: 2.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=161): time 0.03699/0.3721, allocations: 9.316 MB / 0.5107 GB, free: 9.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/0.3722, allocations: 124.1 kB / 0.5109 GB, free: 9.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.3738, allocations: 1.308 MB / 0.5121 GB, free: 7.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.374, allocations: 49.7 kB / 0.5122 GB, free: 7.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008315/0.3748, allocations: 1.085 MB / 0.5132 GB, free: 6.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005712/0.3754, allocations: 0.5849 MB / 0.5138 GB, free: 6.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007501/0.3761, allocations: 468.6 kB / 0.5143 GB, free: 5.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3763, allocations: 303.8 kB / 0.5146 GB, free: 5.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.3779, allocations: 0.8519 MB / 0.5154 GB, free: 4.617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/0.3802, allocations: 1.721 MB / 0.5171 GB, free: 2.496 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004295/0.3845, allocations: 2.7 MB / 0.5197 GB, free: 15.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/0.3846, allocations: 12 kB / 0.5197 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009498/0.3941, allocations: 3.471 MB / 0.5231 GB, free: 11.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.3941, allocations: 22.64 kB / 0.5231 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-05/0.3941, allocations: 30.66 kB / 0.5232 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005732/0.3999, allocations: 1.151 MB / 0.5243 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.4019, allocations: 0.5135 MB / 0.5248 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.413, allocations: 7.192 MB / 0.5318 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.4149, allocations: 105.1 kB / 0.5319 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/0.4152, allocations: 144 kB / 0.532 GB, free: 2.527 MB / 414.1 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.0009419/0.4161, allocations: 443.7 kB / 0.5325 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004008/0.4165, allocations: 162.9 kB / 0.5326 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008712/0.4252, allocations: 2.834 MB / 0.5354 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.4253, allocations: 18.66 kB / 0.5354 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.4253, allocations: 4 kB / 0.5354 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/0.4253, allocations: 7.969 kB / 0.5354 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/0.4372, allocations: 4.349 MB / 0.5397 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.4372, allocations: 7.984 kB / 0.5397 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.4384, allocations: 250.4 kB / 0.5399 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005247/0.4437, allocations: 1.034 MB / 0.5409 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/0.4438, allocations: 63.95 kB / 0.541 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009498/0.4533, allocations: 6.491 MB / 0.5473 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.4533, allocations: 7.969 kB / 0.5473 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009427/0.4628, allocations: 3.641 MB / 0.5509 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003947/0.4632, allocations: 141.6 kB / 0.551 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/0.4634, allocations: 32 kB / 0.551 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.4645, allocations: 43.98 kB / 0.5511 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004114/0.4649, allocations: 159.5 kB / 0.5512 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/0.465, allocations: 71.95 kB / 0.5513 GB, free: 14.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001152/0.4662, allocations: 0.8228 MB / 0.5521 GB, free: 13.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4662, allocations: 2.656 kB / 0.5521 GB, free: 13.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003454/0.4696, allocations: 1.111 MB / 0.5532 GB, free: 12.5 MB / 446.1 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.002369/0.472, allocations: 1.189 MB / 0.5544 GB, free: 11.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005557/0.4776, allocations: 2.577 MB / 0.5569 GB, free: 8.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.4776, allocations: 0 / 0.5569 GB, free: 8.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00272/0.4803, allocations: 1.324 MB / 0.5582 GB, free: 7.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.4819, allocations: 274.3 kB / 0.5584 GB, free: 7.176 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006639/0.4885, allocations: 3.541 MB / 0.5619 GB, free: 3.641 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009607/0.4895, allocations: 0.8189 MB / 0.5627 GB, free: 2.805 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001231/0.4907, allocations: 382.4 kB / 0.5631 GB, free: 2.551 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00065/0.4914, allocations: 233.7 kB / 0.5633 GB, free: 2.324 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4914, allocations: 3.938 kB / 0.5633 GB, free: 2.32 MB / 446.1 MB Notification: Performance of Templates: time 0.06783/0.5592, allocations: 40.82 MB / 0.6031 GB, free: 9.941 MB / 494.1 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.4541832990944386] Failed to read output from testmodel.py, exit status != 0: 0.5685886964201927 0.583863679 0.290773707 Calling exit ...